PGNBase
Search 11.5 million over-the-board master games and your own chess databases from your assistant.
Hosted MCP Server
npx add-mcp 'https://www.pgnbase.com/api/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
The answer comes back as games you can open.
Your assistant reads the opening trees and the games, explains them in your language, and saves what matters as a database in your workspace. Open it on the board, run the engine, keep going.
Using PGNBase, prepare me for my next game against Firouzja with Black. What does he play against the Najdorf?
Against the Najdorf, Firouzja mostly plays 6.h3 (9 of his last 14 games), then 6.Be3. His weakest line is 6.Be3 e5: 50% in 4 games, so that is where I’d steer.
I saved five model games for Black in a new PGNBase database:
Prep: FirouzjaPGNBase database, 5 gamesOpen
Ask anything
What chess players ask it.
Three from the prompt library. Open one in ChatGPT or Claude, fill in the brackets, send.
Prepare for an opponent
Using PGNBase, prepare me to play [opponent] with [White or Black]. Find their games among the master games, or in my database [database name] if they are not a master. Show what they play against [my opening]: each line, how often they choose it and how they score. Pick the line where they score worst and save three 2200+ master games played in that line to a new database called "Prep: [opponent]". In that database, add a recap game: one of those games as the main line, the other two added as variations where they branch off and quoted, with a short comment and a diagram at each key position. Then send me the link to the database.
Open in Open in ChatGPT Open in Claude Copy prompt
Find my weak openings
Using PGNBase, go through my games in [database name], where I play as [my username]. Group them by opening and colour, and show my three worst-scoring openings overall, with the number of games and my score in each. For each one, find the move where my games most often leave 2200+ master practice: a move of mine that masters rarely play there (under 5% of their games) or that Stockfish marks as dubious or a mistake. Save a new database called "To study" with one recap game per opening: a 2200+ master game as the main line, my move and the masters' main alternatives added as variations, two of my games quoted where I left master practice, with a short comment and a diagram at each key position. Then send me the link to the database.
Open in Open in ChatGPT Open in Claude Copy prompt
Review my game
Using PGNBase, review my game [White player] vs [Black player] in [database name], where I play as [my username], with Stockfish: each side's accuracy and the key moments. Find my first move that leaves 2200+ master practice: a move masters rarely play there (under 5% of their games), or one Stockfish marks as dubious or a mistake. Make a copy of the game in PGNBase as a recap: at that move and at my three biggest mistakes, Stockfish's better move and the 2200+ masters' moves, added as variations, a master game quoted, a short comment and a diagram. Then send me the link to that copy.
Open in Open in ChatGPT Open in Claude Copy prompt
Questions
-
Which apps does it work with?
ChatGPT and Claude. Any other app that lets you add a connector by its address works too: choose Another app above for the address to paste. -
What is a tool call, and how many do I get?
Every request your assistant makes to PGNBase is one tool call; a question usually takes two to five. Free accounts get 100 a week, refilled every Monday. Pro gets 1,000,000 a week. On both plans, hourly and daily rate limits keep the database from being copied. -
Can it delete or share my games?
No. Your assistant can read your games, add new ones and annotate them, but none of the tools PGNBase gives it can delete a game or a database, or share anything with anyone. -
What does ChatGPT see?
What it reads from PGNBase to answer you: the games, trees and databases it asks for, and nothing else in your account. Whoever makes your assistant (OpenAI for ChatGPT, Anthropic for Claude) receives that under its own terms, like everything else in the chat. -
Is PGNBase an AI?
No. PGNBase is a chess database and workspace, and it ships no chatbot of its own. It connects the assistant you already use to the master games and to yours. -
What does beta mean?
It works, but it is new. The tools, the weekly allowance and the way assistants answer may change as we learn what chess players ask. If an answer looks wrong, tell us: it is the fastest way to make it better.