MCP server
Card data in your assistant, for every game.
A Model Context Protocol server lets an assistant such as Claude, Cursor or VS Code read the catalogue instead of answering from memory. The alltcgapi server is planned in two forms, a local package and a hosted server, with the same read-only tools over every game.
Not published · checked 2026-11-19
Nothing on this page can be installed yet.
@alltcgapi/mcp is not on npm and https://mcp.alltcgapi.com/mcp does not answer yet. The commands and configurations below are the planned ones: if you run them today, they fail.
The REST API itself is open, with self-service keys. Get a free key, or read the quickstart to see what the tools will call.
Two ways to connect
A local package, or a server you sign in to.
Local package
- Runs
- @alltcgapi/mcp on npm, started by the client with npx. It talks to the client over stdio and to the API over HTTPS.
- Signs in with
- Your API key, passed in the ALLTCG_API_KEY environment variable of the client configuration.
- Fits
- Claude Code, Claude Desktop, Cursor, VS Code and any client that starts a local process.
Hosted server
- Runs
- https://mcp.alltcgapi.com/mcp, over Streamable HTTP. Nothing to install.
- Signs in with
- OAuth: the client opens a sign-in page and receives a token for your account. No key in a configuration file.
- Fits
- Clients that connect to remote servers, including the ones that cannot start a local process.
The tools · planned
7 tools, one per question.
The list of tools sits in the assistant’s context on every turn, so each tool answers a question instead of mirroring a route. game is the argument they share. Each tool calls the routes in its row and costs what they cost.
| Tool | Answers | Arguments | Routes | Credits |
|---|---|---|---|---|
| atcg_search_cards | Cards by name or by the number printed on the card, in one game or across all of them. Each row has the id the other tools take. | game, name, number, set, limit, cursor | GET /v1/cards | 1 per call (up to 50 rows) |
| atcg_get_card | One card by id: set, number, rarity, names per language, game attributes, image URL and marketplace ids. Its quotes too, if asked. | id, include_prices | GET /v1/cards/{id} · GET /v1/cards/{id}/prices | 1, plus 2 with prices |
| atcg_list_sets | Sets newest first, with code, release date and card count: every One Piece set of 2025, or the Asian Pokémon sets. | game, region, name, released_from, released_to, limit, cursor | GET /v1/sets | 1 per page; up to 8 with a name or date filter |
| atcg_list_set_cards | The cards of one set in collector-number order, narrowed by the start of a name or by number. | set, name, number, limit, cursor | GET /v1/sets/{id}/cards | 1 per call (up to 50 rows) |
| atcg_search_sealed | Sealed products of a game or a set, by kind such as BOOSTER_BOX, with the languages each exists in. Only some games have them. | game, set, kind, name, language, limit, cursor | GET /v1/sealed | 1 per 50 rows; up to 16 with a name or language filter |
| atcg_get_prices | The current quotes of a card or a sealed product, each with its source, variant, copy language, currency and observation date. No history, no conversion. | type (card or sealed), id, source, language, currency | GET /v1/cards/{id}/prices · GET /v1/sealed/{id}/prices | 2 |
| atcg_get_coverage | What the API covers today: counts per game, which games and sources have quotes and how recent they are, the last refresh, and what is not served. | game | GET /v1/games · GET /v1/prices/coverage · GET /v1/status | 1 (price coverage and refresh times are public) |
Every tool reads; none writes, deletes or spends anything beyond the credits of its call. Tool names are the planned ones and can still change before the first release.
Why a status tool
The assistant should read what is there, not infer it.
Asked what an API covers, a model answers from what it remembers about similar APIs. atcg_get_coverage exists so it does not have to.
- Counts per game, read when the tool is called, including the games that have no sealed products.
- Price coverage per game and source, from the public /v1/prices/coverage route.
- Refresh times of the catalogue and price lanes, from /v1/status.
- What the tools do not return: price history, graded prices and recognition from a photo, stated in the answer so the assistant does not offer them.
Configuration · planned
Each client, as it will be configured.
Shown so you can see what setting it up will take. None of these works until the package and the hosted server are published.
claude mcp add alltcgapi --env ALLTCG_API_KEY=$ALLTCG_API_KEY -- npx -y @alltcgapi/mcpclaude mcp add --transport http alltcgapi https://mcp.alltcgapi.com/mcpThe first call opens the sign-in page in your browser.
{
"mcpServers": {
"alltcgapi": {
"command": "npx",
"args": ["-y", "@alltcgapi/mcp"],
"env": { "ALLTCG_API_KEY": "your-key" }
}
}
}{
"mcpServers": {
"alltcgapi": {
"command": "npx",
"args": ["-y", "@alltcgapi/mcp"],
"env": { "ALLTCG_API_KEY": "${env:ALLTCG_API_KEY}" }
}
}
}{
"inputs": [
{ "id": "alltcg-key", "type": "promptString", "description": "alltcgapi key", "password": true }
],
"servers": {
"alltcgapi": {
"command": "npx",
"args": ["-y", "@alltcgapi/mcp"],
"env": { "ALLTCG_API_KEY": "${input:alltcg-key}" }
}
}
}The top-level key is servers, not mcpServers. The inputs block asks for the key once and keeps it out of the file you commit.
Questions
Before you wire it in.
Which games can the server read?
Every game the API serves, 19 today, through one game argument. atcg_get_coverage lists them with their ids and says which have prices. Games.
Does it cost more than the REST API?
No. Each tool calls the REST routes listed next to it in the table and costs the credits of those calls. A filtered search can read several pages, and the table says how many credits at most. The server has no price of its own. Rate limits & credits.
Can it change anything in my account?
No. Every tool reads. The API has no route that writes catalogue or price data, so there is nothing for an assistant to change.
Does it return price history or graded prices?
Not yet. The API serves price history, but this server has no tool for it, and graded prices are not in the API at all. atcg_get_prices returns the current quote of each series with its date, and atcg_get_coverage tells the assistant so before it guesses. Price methodology.
When will it be published?
No date is announced. When the package is on npm and the hosted server answers, this page will drop its warning and keep the same commands.