Stockfish

by sonirico

Not rated
GitHub

About

Enables AI to communicate with the Stockfish chess engine.

Details

Author
sonirico
Categories
Other, Developer Tools

Setup

Install Stockfish in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/sonirico/mcp-stockfish

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol server that lets your AI talk to Stockfish. Because apparently we needed to make chess engines even more accessible to our silicon overlords.

🧠⚑πŸ–₯️Your LLM thinks, Stockfish calculates, you pretend you understand the resulting 15-move tactical sequence.

This creates a bridge between AI systems and the Stockfish chess engine via the MCP protocol. It handles multiple concurrent sessions because your AI probably wants to analyze seventeen positions simultaneously while you're still figuring out why your knight is hanging.

Built onmark3labs/mcp-go. Because reinventing wheels is for people with too much time.

- πŸ”„ Concurrent Sessions: Run multiple Stockfish instances without your CPU crying
- ⚑ Full UCI Support: All the commands you need, none of the ones you don't
- 🎯 Actually Works: Unlike your last side project, this one has proper error handling
- πŸ“Š JSON Everything: Because apparently we can't just use plain text anymore
- 🐳 Docker Ready: Containerized for when you inevitably break your local setup

git clone https://github.com/sonirico/mcp-stockfish cd mcp-stockfish make install
# Default mode (stdio, because we're old school) mcp-stockfish # With custom Stockfish path (for the special snowflakes) MCP_STOCKFISH_PATH=/your/special/stockfish mcp-stockfish # HTTP mode (for the web-scale crowd) MCP_STOCKFISH_SERVER_MODE=http mcp-stockfish

- MCP_STOCKFISH_SERVER_MODE: "stdio" or "http" (default: "stdio")
- MCP_STOCKFISH_HTTP_HOST: HTTP host (default: "localhost")
- MCP_STOCKFISH_HTTP_PORT: HTTP port (default: 8080)

- MCP_STOCKFISH_PATH: Path to Stockfish binary (default: "stockfish")
- MCP_STOCKFISH_MAX_SESSIONS: Max concurrent sessions (default: 10)
- MCP_STOCKFISH_SESSION_TIMEOUT: Session timeout (default: "30m")
- MCP_STOCKFISH_COMMAND_TIMEOUT: Command timeout (default: "30s")

- MCP_STOCKFISH_LOG_LEVEL: debug, info, warn, error, fatal
- MCP_STOCKFISH_LOG_FORMAT: json, console
- MCP_STOCKFISH_LOG_OUTPUT: stdout, stderr

- command: UCI command to execute
- session_id: Session ID (optional, we'll make one up if you don't)

{ "status": "success|error", "session_id": "some-uuid", "command": "what you asked for", "response": ["what stockfish said"], "error": "what went wrong (if anything)" }

- Spawn Stockfish processes on demand
- Keep UCI state between commands
- Clean up when you're done (or when they timeout)
- Enforce limits so you don't fork-bomb yourself

{ "mcpServers": { "chess": { "command": "mcp-stockfish", "env": { "MCP_STOCKFISH_LOG_LEVEL": "info" } } } }
make deps # Get dependencies make build # Build the thing make test # Run tests (when they exist) make fmt # Make it pretty

Powered byStockfish, the chess engine that's stronger than both of us combined. Created by people who actually understand chess, unlike this wrapper.

- TheStockfish teamfor making chess engines that don't suck
-
MCP SDK for Gofor handling the protocol so I don't have to
- Coffee

MIT - Do whatever you want, just don't blame me when it breaks.

Chia Health MCP Server β€” Patient workflow integration for a licensed US telehealth platform. Browse GLP-1 medications (semaglutide, tirzepatide), peptide therapies (sermorelin, NAD+, glutathione), and longevity treatments. Check eligibility, complete intake, sign consents, and manage treatment plans. 30 tools, HIPAA-compliant. All prescriptions evaluated by licensed US healthcare providers and delivered from FDA-regulated pharmacies across 50 states + DC.

Broker + MCP server for last-bidder-wins games on Solana β€” agents register, auto-fund a Privy wallet, and bid via streamable HTTP

AI-powered no-code app builder with 17 MCP tools β€” create projects, generate pages from natural language, AI text/image generation (GPT, Claude, Gemini, 14+ models), page CRUD, workflow execution, publish & version control. SSE transport, API key auth.

An mcp server for your food ordering needs.

Agent-to-Agent handoff certification for multi-agent systems β€” validates context preservation, verifies agent capabilities before handoff, logs transfer chains, and ensures no data loss in agent orchestration.

Unified MCP & skill management gateway with progressive disclosure. Manages multiple MCP servers as Agent Apps, loading tool schemas on demand for 99% context token savings. Shared across Claude Code, Codex, OpenCode and more.

A collection of Model Context Protocol (MCP) servers for various tasks and integrations, supporting both Python and Node.js environments.

Open-souSecurely feeds real security refreshed rules into Cursor, Claude Code, and Windsurf β€” zero config, no API key.

Health intelligence MCP β€” access biomarkers, biological age, and personalized longevity action plans from your Aniva profile.

Real-time stock heatmaps and investment tools delivered as interactive React components.

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.