wordle-solver
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wordle-solverI played CRANE and got gray-yellow-gray-green-gray. What should I play next?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Wordle Solver MCP Server
An MCP (Model Context Protocol) server that gives AI assistants governed access to a production analytics microservice: the entropy-based Wordle solver that powers the interactive demo on courtneyperigo.com.
This repo is the companion demo for the article "Your Analytics Microservices Have a New Customer" — a sequel to Get More Out of Your Data with Analytics Microservices (Towards Data Science, 2022). The 2022 argument: put your analytics behind independently deployable, domain-bound services. The 2026 payoff: the highest-volume consumer of a well-built analytics service is now an AI agent — and MCP is the standardized communication layer that article said was the pattern's biggest cost.
2022 2026
┌──────────┐ ┌──────────────────┐ ┌───────────┐ ┌──────────────────┐
│ Web UI │───▶│ Solver API │ │ AI agent │───▶│ MCP server │
│ (Vue) │ │ (FastAPI on │ │ (Claude, │ │ (this repo) │
└──────────┘ │ App Engine) │ │ etc.) │ └────────┬─────────┘
└──────────────────┘ └───────────┘ │
▼
┌──────────────────┐
│ Same solver API │
│ — unchanged │
└──────────────────┘The microservice didn't change. It gained a new kind of customer.
What the solver does
The upstream service ranks every legal Wordle guess by expected information gain (measured in bits) against the words still consistent with the game's feedback. It knows the official NYT allowed-guess and answer lists, and reports game state as uncertainty in bits. It's a FastAPI app on Google App Engine with Cloud Build CI/CD — a small but real production analytics service, built originally for a website UI, long before agents.
Related MCP server: multivon-mcp
Tools
Tool | When the agent should call it |
| At the start of a game — dictionary size, answer count, starting uncertainty, and suggested opening words |
| After each guess — pass the full guess history with color feedback ( |
Resources
Resource | Contents |
| How the ranking works (lower bits = better), what the two ranked lists mean, how to read uncertainty — so the assistant explains recommendations correctly instead of guessing |
Design notes (the part that generalizes beyond Wordle)
Tools accept the agent's representation, not the API's. The upstream API wants position-wise constraint lists (
green_letters, per-position yellow exclusions, duplicate caps). Agents think in guesses: "I played CRANE and got gray-yellow-gray-green-gray." The translation — including the subtle duplicate-letter rules — lives inconstraints.py, tested intest_constraints.py. Don't make the model do bookkeeping code can do.Tool descriptions say when to call, not just what. The descriptions steer the agent away from a known-expensive call path (scoring the full dictionary with no constraints) and toward the cheap one.
Responses are shaped for context economy. The API returns 100 recommendations; the tool returns 10 plus the answer-eligible shortlist. An agent's context window is a cost center.
Documentation is served, not linked. The methodology resource travels with the tools, so the assistant's explanations are grounded in how the solver actually works.
Install & run
Requires Python 3.10+ and uv (or plain pip).
git clone https://github.com/agentdanger/wordle-mcp-server.git
cd wordle-mcp-server
uv sync # or: pip install -e .
uv run server.py # starts the server on stdioClaude Code
claude mcp add wordle-solver -- uv --directory /path/to/wordle-mcp-server run server.pyClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"wordle-solver": {
"command": "uv",
"args": ["--directory", "/path/to/wordle-mcp-server", "run", "server.py"]
}
}
}Point at a different deployment of the solver with WORDLE_API_BASE.
Try it
Ask your assistant:
I'm playing Wordle. I opened with CRANE and got: C gray, R yellow, A gray, N green, E gray. What should I play next?
The assistant calls recommend_guesses(words=["crane"], feedback=["xyxgx"]) and reasons over ranked, real solver output instead of guessing.
Tests
uv run pytestLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that allows users to play the 'Turtle Soup' puzzle game with LLMs acting as game hosts, providing tools to access game rules, puzzles, and comprehensive puzzle information.Last updated312

multivon-mcpofficial
AlicenseAqualityAmaintenanceMCP server that gives AI coding agents direct access to evaluation tools.Last updated22Apache 2.0- Alicense-qualityDmaintenanceA local MCP server that gives AI agents structured task planning, execution tracking, and guided research workflows.Last updated13MIT
- AlicenseAqualityCmaintenanceAn MCP server for agent-guided DSA practice that generates LeetCode-style problems and provides tutoring with escalating hints, concept explanations, and progress tracking.Last updated77MIT
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that integrates with Discord to provide AI-powered features.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentdanger/wordle-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server