Chess FEN MCP Server
Validate and visualize chess positions using FEN notation.
Chess FEN MCP Server
A Model Context Protocol (MCP) server that provides chess FEN notation validation and visualization capabilities.
Features
- Convert FEN (Forsyth-Edwards Notation) strings to ASCII chess board visualizations
- Easy integration with MCP-compatible AI assistants allowing them to validate their generated FEN strings
- Installable via npx
Installation
npx chess-fen-mcp
Or install globally:
npm install -g chess-fen-mcp
Usage
As MCP Server
Add to your MCP client configuration (Claude Desktop, etc.):
{
"mcpServers": {
"chess-fen": {
"command": "npx",
"args": ["chess-fen-mcp"]
}
}
}
If installed globally, you can also use:
{
"mcpServers": {
"chess-fen": {
"command": "chess-fen-mcp"
}
}
}
Available Tools
visualize_fen
Converts a FEN string to an ASCII chess board visualization.
Parameters:
fen_string(string, required): FEN notation string
Example Input:
fen_string: "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
Example Output:
Fen {
rows: 8,
columns: 8,
board: [
a b c d e f g h
8 ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 8
7 ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 7
6 . . . . . . . . 6
5 . . . . . . . . 5
4 . . . . . . . . 4
3 . . . . . . . . 3
2 ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 2
1 ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 1
a b c d e f g h
],
toMove: 'white',
castlingRights: {
white: { queenside: true, kingside: true },
black: { queenside: true, kingside: true }
},
enPassantSquare: '-',
halfMoves: 0,
fullMoves: 1
}
Development
git clone
cd chess-fen-mcp
npm install
npm run dev
License
MIT
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
ADB Friend
A CLI tool for developers to manage Android devices via ADB.
TradingCyborg MCP Server
A professional trading server with over 26 tools for Bybit API integration.
return0
Debug your remote Node.js and Next.js applications directly from your AI IDE like Cursor.
Health Microservice API
A FastAPI microservice for health-related operations, featuring JWT authentication and a PostgreSQL database with Alembic migrations.
Playwright IA: Midscene.js
Automate Playwright flows using natural language with Midscene.js and AI.
MCP Dev Utils
A modular and extensible MCP server with essential utilities for developers.
MCP Utils
A Python package with utilities and helpers for building MCP-compliant servers, often using Flask and Redis.
GitHub Workflow Debugger MCP
Diagnose and fix GitHub Actions workflow failures using the GitHub API.
oyemi-mcp
MCP server for the Oyemi semantic lexicon. Provides deterministic word-to-code mapping and valence/sentiment analysis for AI agents like Claude, ChatGPT, and Gemini.
Lighthouse MCP Server
Audit web performance, accessibility, and SEO using Google Lighthouse.