Mintachu API and MCP server
Grade your own Pokémon card photos, read your saved grades and look cards up, from a script, a server, Claude Code or Cursor. Calls spend the same daily quota as grading on the site. Use is covered by the API Terms.
Last updated 25 November 2026
1. Quickstart
Create a key on Account → Developer. Pick the scopes it needs: grades:read, grades:write and cards:read. The key is shown once, so store it somewhere safe, such as an environment variable:
export MINTACHU_API_KEY=ak_…Check the key, your plan and how many grades you have left today:
curl https://www.mintachu.com/api/v1/me \
-H "Authorization: Bearer $MINTACHU_API_KEY"Grade a card. Send photos as files, as https:// URLs or as base64 data: URLs. The answer is the grade's id; reading it with wait=25 holds the request until the grade is done.
curl https://www.mintachu.com/api/v1/grades \
-H "Authorization: Bearer $MINTACHU_API_KEY" \
-F mode=quick -F front=@front.jpg -F back=@back.jpg
curl "https://www.mintachu.com/api/v1/grades/$GRADE_ID?wait=25" \
-H "Authorization: Bearer $MINTACHU_API_KEY"Always call www.mintachu.com. The bare domain redirects there, and clients drop the Authorization header on a redirect to another host.
2. MCP server
The MCP server lets an agent grade cards and look them up for you. It speaks MCP over Streamable HTTP at https://www.mintachu.com/api/v1/mcp and signs in with an API key, sent as a bearer token. Give the key all three scopes.
Claude Code
claude mcp add --transport http mintachu https://www.mintachu.com/api/v1/mcp \
--header "Authorization: Bearer $MINTACHU_API_KEY"Cursor
Add this to ~/.cursor/mcp.json, with your key in place of ak_…:
{
"mcpServers": {
"mintachu": {
"url": "https://www.mintachu.com/api/v1/mcp",
"headers": { "Authorization": "Bearer ak_…" }
}
}
}Then ask, for example: "Grade the card in front.jpg and back.jpg with Mintachu."
Tools
| Tool | What it does |
|---|---|
get_account | The key's Mintachu account: plan, API access, the key's scopes, and how many grades are left today in each mode. |
grade_card | Estimate the PSA grade of a Pokémon card from its photos: the front, ideally the back, and up to two close-ups. Spends one grade from the member's daily quota for the mode. Waits up to 25 seconds for the result; if it is still running, call get_grade with the returned id. The report has the card, the grade with its range and reasoning, subgrades (centering, corners, edges, surface) and defects. Saved to the member's History unless they turned saving off. |
get_grade | One grade by the id grade_card returned (readable for 30 minutes) or a saved grade's historyId (readable until deleted). Status is running, done (with the report), failed or cancelled. wait holds the call up to 25 seconds for a running grade to finish. |
list_grades | The member's saved grades, from the website and the API alike, newest first: card, grade range, mode and date. Use get_grade with an item's id for its full report. |
find_card | Look up Pokémon cards in Mintachu's catalog by name, set id and number: set, number, rarity, artist and images. Also returns sets whose name matches q. No prices. |
get_card | One card from Mintachu's catalog by its id, such as base1-4: set, number, rarity, artist and images. No prices. |
Agents usually reach photos by URL. A photo inside the request has to fit Vercel's limit of about 4 MB per request, so send large photos as https:// URLs.
3. Endpoints
| Endpoint | Scope | Quota |
|---|---|---|
GET /api/v1/me | any | none |
POST /api/v1/grades | grades:write | one grade in the chosen mode |
GET /api/v1/grades/{id} | grades:read | none |
GET /api/v1/grades | grades:read | none |
DELETE /api/v1/grades/{id} | grades:write | none |
GET /api/v1/cards | cards:read | none |
GET /api/v1/cards/{id} | cards:read | none |
POST /api/v1/mcp | per tool | as the tool |
The full description, with every field, is the OpenAPI 3.1 spec at /developers/openapi.json. A grade is quick, balanced, detailed or agent; deeper modes depend on your plan, as on the site. Grades are saved to your History unless you turned saving off.
4. Limits
- 60 requests a minute per key.
- 2 grades running at once per account.
- Up to 4 photos a grade: front, back and close-ups. JPEG, PNG or WebP, 8 MB each.
- About 4 MB per request in total, so send large photos as URLs.
- wait holds a read for up to 25 seconds.
- A grade id is readable for 30 minutes. A saved grade stays readable by its historyId until you delete it.
- Each account can have 5 active keys. A key lasts 7, 30 or 90 days, and you can revoke it at any time.
Remaining quota comes back on every grade in the X-Mintachu-Quota-Remaining and X-Mintachu-Quota-Reset headers, and in GET /api/v1/me.
5. Errors
Every error is {"error":{"code":"…","message":"…"}}. The message says what to fix.
| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request | A field is missing or wrong; the error names it. |
| 400 | invalid_image | A photo could not be fetched or read. |
| 401 | missing_api_key | No Authorization header. |
| 401 | invalid_api_key | The key is wrong, expired or revoked. |
| 403 | insufficient_scope | The key lacks the scope this call needs. |
| 403 | api_access_required | The account has no API access now. |
| 403 | mode_not_allowed | Your plan does not include this grading mode. |
| 404 | not_found | No such grade or card for this key. |
| 409 | grade_running | The grade is still running. |
| 429 | rate_limited | Too many requests or running grades; wait for Retry-After. |
| 429 | quota_exhausted | No grades left today; resetAt says when they come back. |
| 503 | unavailable | Something behind the API is down; retry. |
6. Help
Questions or problems: email pokejavs@outlook.com. Please never send your API key.