Back to Directory/Developer Tools

io.github.gregario/onepiece-oracle

One Piece TCG MCP server with card search, deck analysis, and set browsing

Developer ToolsTypeScriptv0.1.0

onepiece-oracle

One Piece TCG MCP server — card search, deck analysis, and set browsing for the One Piece Card Game.

What It Does

Search, browse, and analyze One Piece TCG cards with ground-truth data from the community-maintained card database. 4,348 cards across all sets (OP-01 through OP-14, Starter Decks, Event Boosters, and Promos).

Tools

ToolDescription
search_cardsFull-text search with filters for color, type, cost, power, rarity, attribute, character type, and set.
browse_setsList all sets with card counts, or view cards in a specific set.
card_versionsShow all printings of a card including alternate art variants.
browse_leadersBrowse all Leader cards, optionally filtered by color.
analyze_cost_curveParse a deck list and show cost distribution, color breakdown, type spread, and counter summary.
find_countersFind cards with counter values for defensive deck building.

Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "onepiece-oracle": {
      "command": "npx",
      "args": ["-y", "onepiece-oracle"]
    }
  }
}

Claude Code

claude mcp add onepiece-oracle -- npx -y onepiece-oracle

Disclaimer

This is a fan-made, non-commercial project for informational and educational purposes only. One Piece Card Game is a trademark of Bandai Co., Ltd. and Shueisha Inc. One Piece is created by Eiichiro Oda. This project is not produced, endorsed, supported, or affiliated with Bandai or Shueisha. Card data is sourced from community-maintained databases.

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y onepiece-oracle

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-gregario-onepiece-oracle": {
      "command": "npx",
      "args": [
        "-y",
        "onepiece-oracle"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

onepiece-oraclenpm

Compatible MCP Clients

io.github.gregario/onepiece-oracle works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More