ChessIntel
Search 56k elite over-the-board chess games by positional pattern, theme, opening and player.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"chessintel": {
"url": "https://chessintel.com/api/mcp"
}
}
}远程端点
https://chessintel.com/api/mcpstreamable-http它能做什么
工具清单
工具(13)
🟢search_games(q, limit, cursor, stats)
Search over-the-board chess games (Lichess broadcasts, FIDE-identified players) with one structured query. Everything combines with AND: player/opponent/colour, result, rating, event, opening (ECO or name), time control, dates, game length; precomputed THEMES and MOTIFS (IQP, hanging pawns, minority attack, knight outposts, forks, pins, sacrifices, comebacks, time scrambles — call list_themes); registered PATTERNS (move sequences); `not` clauses to exclude anything; and `board` predicates checked move by move (partial positions, piece manoeuvres, king attacks, material imbalances like the exchange for a pawn); and `sequence` to compose your own 'A, then B' over themes, events and board predicates when no registered pattern fits. YOU translate the user's words into this query; if a concept has no field, say so rather than guessing. Do not pick a colour the user did not name: a material imbalance or a theme with no side given is for:'any' / side:'any'. A player name is bound to one person by FIDE id — read `notes` in the response to see who, and tell the user if the name was ambiguous. Each hit carries the moment to look at (`focus`: ply, SAN, FEN) and `marks` for every matched event. With a board predicate the total may be an estimate (`total_exact` false) — pass `cursor` to continue. Set stats=true for score, results, opponents' rating and the most-played openings of the result set.
输入模式
{
"type": "object",
"properties": {
"q": {
"type": "object",
"properties": {
"player": {
"type": "string",
"description": "Player name or surname (substring). Hits gain player/opponent/player_result framing"
},
"player_fide": {
"type": "string",
"description": "FIDE id: binds `player` exactly (use when surnames collide, e.g. the Van Foreests)"
},
"player_color": {
"type": "string",
"enum": [
"white",
"black"
],
"description": "Colour the player had"
},
"opponent": {
"type": "string",
"description": "With player: head-to-head"
},
"result": {
"type": "string",
"enum": [
"win",
"loss",
"draw"
],
"description": "From the player's side (needs player)"
},
"outcome": {
"type": "array",
"items": {
"type": "string",
"enum": [
"1-0",
"0-1",
"1/2-1/2"
]
},
"description": "Raw result, no player needed: ['1-0'] = White won"
},
"year_from": {
"type": "integer"
},
"year_to": {
"type": "integer"
},
"event": {
"type": "string",
"description": "Tournament name substring"
},
"event_slug": {
"type": "string",
"description": "One tournament exactly: the `slug` from list_events"
},
"date_from": {
"type": "string",
"description": "ISO date, inclusive: '2026-05-24'. Games known only to the month count from the 1st"
},
"date_to": {
"type": "string",
"description": "ISO date, inclusive"
},
"fen": {
"type": "string",
"description": "Games that reached this exact position (any move order) within their first 40 plies"
},
"transpositions": {
"type": "boolean",
"description": "With `line`: false = this exact move order only. Default true: any order reaching the same position"
},
"eco": {
"type": "array",
"items": {
"type": "string"
}
},
"eco_from": {
"type": "string",
"description": "ECO range start: Sicilian B20-B99"
},
"eco_to": {
"type": "string"
},
"opening": {
"type": "string",
"description": "Opening name substring"
},
"elo_min": {
"type": "integer"
},
"elo_max": {
"type": "integer"
},
"elo_mode": {
"type": "string",
"enum": [
"both",
"one",
"avg"
]
},
"elo_diff_min": {
"type": "integer",
"description": "Rating gap: upsets"
},
"tc_class": {
"type": "array",
"items": {
"type": "string",
"enum": [
"classical",
"rapid",
"blitz",
"bullet"
]
}
},
"tc_min": {
"type": "integer",
"description": "Base time, seconds"
},
"tc_max": {
"type": "integer"
},
"titled": {
"type": "string",
"description": "'both', 'any' or a title like 'GM'"
},
"moves_min": {
"type": "integer",
"description": "Full moves"
},
"moves_max": {
"type": "integer"
},
"endgame": {
"type": "array",
"items": {
"type": "string",
"enum": [
"rook",
"queen",
"knight",
"same_bishop",
"opp_bishop",
"bishop",
"bishop_knight",
"pawn",
"other"
]
},
"description": "Endgame classes the game REACHED (held 3+ moves) or ended in — a rook ending later converted to a pawn ending matches both"
},
"endgame_final": {
"type": "boolean",
"description": "true: only the class of the final position ('games that ended in a rook endgame')"
},
"blunder": {
"type": "string",
"enum": [
"player",
"opponent",
"white",
"black",
"any"
]
},
"think_min": {
"type": "integer",
"description": "Longest single think, minutes"
},
"peak_for": {
"type": "string",
"enum": [
"player",
"opponent",
"white",
"black",
"any"
]
},
"peak_min": {
"type": "integer",
"description": "Centipawns; with peak_for: 'was winning'"
},
"material": {
"type": "object",
"description": "Piece code (wp wn wb wr wq bp bn bb br bq) -> [min,max], all holding at the same ply",
"additionalProperties": {
"type": "array",
"items": {
"type": "integer"
},
"minItems": 2,
"maxItems": 2
}
},
"final_state": {
"type": "string",
"enum": [
"mate",
"stalemate",
"check",
"normal"
]
},
"pattern": {
"type": "string",
"enum": [
"bishop_pair_for_knight",
"bishop_pair_for_knight_then_pawn_to_color"
]
},
"side": {
"type": "string",
"enum": [
"any",
"white",
"black"
],
"description": "Who executed the pattern"
},
"by_player": {
"type": "string",
"enum": [
"player",
"opponent"
],
"description": "Bind the pattern to the named player (or their opponent)"
},
"themes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"theme": {
"type": "string",
"enum": [
"back_rank_mate",
"backward_pawn",
"bishop_pair",
"closed_centre",
"comeback",
"discovered_attack",
"double_check",
"doubled_pawns",
"doubled_rooks",
"exchange_sacrifice",
"fork",
"hanging_pawns",
"iqp",
"isolated_pawn",
"kingside_majority",
"knight_outpost",
"minority_attack",
"missed_win",
"open_centre",
"opposite_bishops",
"opposite_castling",
"passed_pawn",
"pawn_storm",
"perpetual_check",
"pin",
"protected_passer",
"queen_sacrifice",
"queenside_majority",
"rook_seventh",
"sacrifice",
"sharp",
"skewer",
"smothered_mate",
"symmetrical_pawns",
"time_scramble",
"underpromotion"
]
},
"side": {
"type": "string",
"enum": [
"white",
"black",
"any",
"player",
"opponent"
]
}
},
"required": [
"theme"
]
},
"description": "Themes/motifs that must occur (list_themes)"
},
"not": {
"type": "array",
"items": {
"type": "object"
},
"description": "Clauses that must NOT hold, each negated separately; a clause takes the filter keys, themes and pattern"
},
"sequence": {
"type": "object",
"description": "A composed move sequence over time: {steps: [2-5 steps], within?: plies between adjacent steps, same_side?: true (default; 'any'-side steps done by ONE side), same_color?: false (event steps share the square colour)}. A step is {theme: <list_themes key>, side?}, {event: 'bishop_for_knight_trade'|'pawn_push_to_color', side?} or {board: <one board predicate>}. Each step must happen strictly after the previous one. Example — an exchange sacrifice followed by a king attack within 10 moves: {steps: [{theme: 'exchange_sacrifice'}, {board: {attack: {target: 'k', zone: true, attackers_min: 3}}}], within: 20}. Replay-verified like board predicates; marks carry each step's ply."
},
"board": {
"type": "object",
"description": "Replay-verified board predicates. position: {pieces:{sq:FEN letter}, empty:[sq], exclude:{sq:letter}, to_move, perspective:'player', mirror:'none|colors|files|both', min_plies, ply_from, ply_to}. route: {piece, color, squares:[in order, '?' wildcard], max_plies}. attack: {target:letter, side, zone:bool, attackers_min, defenders_max}. imbalance: {for:'any|white|black|player|opponent', q|r|minor|p:[min,max] difference from that side's view}. Use for:'any' unless the user named a side: 'games with two rooks against a queen' means EITHER colour had the rooks — for:'white' silently drops the games where Black had them. Endgame classes (`endgame`) are the FINAL position only."
}
},
"description": "The structured query: every condition combines with AND (see the tool description)"
},
"limit": {
"type": "integer",
"description": "Max hits (default 25, max 100)"
},
"cursor": {
"type": "string",
"description": "From a previous response: continue"
},
"stats": {
"type": "boolean",
"description": "Also return score, results, opponents' rating and top openings for the whole result set"
}
},
"required": [
"q"
]
}🟢list_themes
List the strategic themes and tactical motifs search_games can filter on (key, label, kind, definition). Call it before using `themes` in a search when you are unsure of the exact key; an unknown key is an error.
输入模式
{
"type": "object",
"properties": {}
}🟢player_profile(name, fide)
Get a compact statistical profile of one player: score overall and per colour, average opponent rating, most-played openings with scores, and the themes that recur in their games compared with the corpus rate. Use it for a quick numeric summary; use player_dossier instead for opponent preparation (repertoire by move, habits with example games, recent games).
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Player name or surname, matched like search_games' player filter (bound to one FIDE id)"
},
"fide": {
"type": "string",
"description": "FIDE id, to bind exactly"
}
},
"required": [
"name"
]
}🟢player_dossier(name, fide)
One-page opponent-prep report for a player: the profile, their repertoire by move (first move as White, replies to 1.e4 and 1.d4 as Black, with scores), eval/clock habits against the field (blunder rate, time scrambles, converting +3 positions, comebacks, sacrifices, opposite-side castling — each with example games and the `query` that reproduces it), and recent games. The name is bound to one FIDE id; read `notes` to see who, and tell the user if the name was ambiguous. Use player_profile instead for just the headline numbers.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Player name or surname"
},
"fide": {
"type": "string",
"description": "FIDE id, to bind exactly"
}
},
"required": [
"name"
]
}🟢list_events(query, since, limit)
Tournaments in the corpus (Lichess broadcasts), newest first: find one by name ('Norway Chess 2026'), or list everything played since a date ('what was played this week'). Each event's `slug` is the exact `event_slug` filter for search_games and explore_openings.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Name substring"
},
"since": {
"type": "string",
"description": "ISO date: events that ended on or after it"
},
"limit": {
"type": "integer",
"description": "Max events (default 20)"
}
}
}🟢explore_openings(q, limit)
The opening tree over any set of games: after the moves in q.line (UCI, e.g. ['e2e4','c7c5']) or from the position q.fen, which moves were played, how often, and how they scored — from the named player's side if q.player is set. q takes every search_games filter (player, colour, rating, event, themes...), so 'what does Carlsen play with Black against 1.e4' is q={player:'Carlsen', player_color:'black', line:['e2e4']}. A line counts every move order reaching the same position (transpositions); q.transpositions=false keeps the exact order.
输入模式
{
"type": "object",
"properties": {
"q": {
"type": "object",
"description": "search_games query plus `line` (omit for the whole corpus from the starting position)"
},
"limit": {
"type": "integer",
"description": "Max next moves to return (default 20, max 100)"
}
}
}🟢get_game(game_id)
Get one game by id as PGN (with clock and engine-eval comments), plus every theme/motif detected in it with the ply where it occurs. Use it to read or discuss a specific game found by search_games; an unknown id returns {error: 'not found'}.
输入模式
{
"type": "object",
"properties": {
"game_id": {
"type": "integer",
"description": "A game_id from search_games hits (or a prep list)"
}
},
"required": [
"game_id"
]
}🟡create_prep_list(name)
Create a named prep list; returns its slug, a read-only shareable URL and a secret key. Adding games needs the key; it is shown only once, so keep it.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "List name"
}
}
}🟡add_to_prep_list(slug, key, game_ids, note)
Add games (by game_id from search results) to a prep list you created (needs the key create_prep_list returned). At most 100 per call.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The slug create_prep_list returned"
},
"key": {
"type": "string",
"description": "The key create_prep_list returned"
},
"game_ids": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "game_id values from search_games hits"
},
"note": {
"type": "string",
"description": "Optional note stored with each game"
}
},
"required": [
"slug",
"key",
"game_ids"
]
}🟢get_prep_list(slug)
Get a prep list by its slug: its name and its games (game_id, note, players, result, date, ECO). Read-only; anyone with the slug can read it. An unknown slug returns name null and no games.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The list's slug (the ?list= value in its URL)"
}
},
"required": [
"slug"
]
}🟢corpus_stats
Get the size of the game corpus: {bc_games: number of games, game_events: number of indexed positional events}. Use list_events for which tournaments are covered.
输入模式
{
"type": "object",
"properties": {}
}🟢game_view(game_id)
Get one game's moves as SAN with the FEN after every ply, evals, clocks and theme plies, for the interactive board view (app-only; the model should use get_game). An unknown id returns {error}.
输入模式
{
"type": "object",
"properties": {
"game_id": {
"type": "integer",
"description": "A game_id from search_games hits"
}
},
"required": [
"game_id"
]
}🟢export_pgn(game_ids)
Export up to 100 games as one PGN text (games in the order given, separated by blank lines; ids past the cap are ignored, unknown ids skipped). Returns {games: count, pgn}. App-only: backs the board view's download button; the model should use get_game.
输入模式
{
"type": "object",
"properties": {
"game_ids": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 100,
"description": "game_id values from search_games hits"
}
},
"required": [
"game_ids"
]
}社区
证据