Bring your agent
Point Claude (or any agent that can make HTTP requests) at texttcg and manage your collection by talking: "log a van gogh pikachu psa 10 for $500" — the agent makes the right API calls against your account.
1 · Create a token
Sign in (one text, phone-only — no passwords here) and mint your token right on this page — agent access comes with a subscription, either tier. It scopes every request to your collection, is shown exactly once, and can be revoked anytime from Settings → Agent access.
2 · Paste this prompt into your agent
Manage my texttcg card collection for me. Setup: GET https://texttcg.com/api/agent for the API docs. Authenticate every request with the header Authorization: Bearer <PASTE-YOUR-TOKEN-HERE> (all operations act only on my collection). Then take my instructions in plain English and make the right API calls. For example: "log a van gogh pikachu psa 10 for $500 basis", "add the phantasmal flames charizard sir for $4 and mark it sold for $10", "tag my mews as grail", "what am I holding and what did I pay?". Use the catalog search when a card is ambiguous, prefer exact printings, and confirm what you did with card names and ids. If a card isn't in the catalogs (like sports cards), add it as a custom entry with the full name I gave (and pass my set name as its set, if I mention one).
Paste the token from step 1 above and it's baked into the prompt for you. (It stays in your browser — it only ends up in the text you copy.)
Walkthrough · Claude in your terminal
$ claude
> [paste the prompt from step 2, with your token filled in]
Got it — I fetched the texttcg API docs. Ready for your cards.
> log a van gogh pikachu psa 10 for $500 basis
✓ Added Pikachu with Grey Felt Hat (svp-085 · SVP Black Star
Promos) — cost basis $500. Want me to record the PSA 10 grade
on it? (done ✓)
> add phantasmal flames charizard sir for $4, sold it for $10
✓ Added Mega Charizard X ex (me02-125 · Phantasmal Flames),
$4 basis, marked sold for $10 — realized +$6.
> what am I holding?
1 owned: Pikachu with Grey Felt Hat (PSA 10) — $500 basis.
1 sold: Mega Charizard X ex — +$6 realized.That's the whole loop: paste once, then it's just conversation. Everything lands in your portfolio here the moment the agent confirms it.
3 · Yap
- "log a van gogh pikachu psa 10, $500 basis"
- "add phantasmal flames charizard sir for $4, then mark it sold for $10"
- "add my 1996 Topps Chrome Kobe #138 psa 10 for $500"
- "tag everything from Romance Dawn as vault"
- "export my collection and total what I've spent"
Claude-native (MCP)
Claude Code users can connect once and get first-class tools instead of raw HTTP:
claude mcp add --transport http texttcg https://texttcg.com/api/mcp \ --header "Authorization: Bearer ttcg_..."
Same tools, same account scoping: list, search the catalogs, add (including custom sports entries), edit, sell.
The raw docs live at /api/agent — agents can GET that URL and learn the whole API themselves.