FastMCP (Python)
The fast, Pythonic way to build MCP servers and clients. Maintained by PrefectHQ. 25,133 GitHub stars and 92 commits on main in the last 30 days. The dominant Python MCP framework.
“The fast, Pythonic way to build MCP servers and clients. Maintained by PrefectHQ. 25,133 stars and 92 commits on main in the last 30 days. The dominant Python MCP framework.”
INSTALL THIS SERVER
{
"mcpServers": {
"my-fastmcp-server": {
"command": "python",
"args": [
"-m",
"my_fastmcp_server"
]
}
}
}
{
"mcpServers": {
"my-fastmcp-server": {
"command": "python",
"args": [
"-m",
"my_fastmcp_server"
]
}
}
}
{
"mcpServers": {
"my-fastmcp-server": {
"command": "python",
"args": [
"-m",
"my_fastmcp_server"
]
}
}
}
{
"mcpServers": {
"my-fastmcp-server": {
"command": "python",
"args": [
"-m",
"my_fastmcp_server"
]
}
}
}
{
"mcpServers": {
"my-fastmcp-server": {
"command": "python",
"args": [
"-m",
"my_fastmcp_server"
]
}
}
}
5 TOOLS AVAILABLE
OUR ASSESSMENT
- 25,133 GitHub stars. Top Python MCP framework.
- 92 commits on main in the last 30 days.
- Apache-2.0 license.
- PrefectHQ maintenance with commercial backing.
- Decorator-based ergonomics with type-hint inference.
- Supports all three MCP transports (stdio, SSE, streamable HTTP).
- Framework lock-in versus hand-rolling JSON-RPC.
- Decorator magic can obscure protocol-level behaviour during debugging.
- API surface evolves quickly; pin versions in production.
Framework has no auth by default. Servers built with FastMCP must add their own authentication for production deployments (recommended approach: middleware decorator pattern documented in the README).
Python developers building MCP servers who want the lowest-friction path; Prefect users extending their data orchestration to MCP; teams that prefer decorator-based APIs over manual JSON-RPC wiring.
TECHNICAL DETAILS
ADOPTION METRICS
// Reading this25,133 stars on PrefectHQ/fastmcp. 92 commits on main in the last 30 days.
// Reading thisPairs with the official Python SDK (modelcontextprotocol/python-sdk), the TypeScript SDK, and mark3labs/mcp-go in the MCP framework slot. FastMCP is the most-starred Python entry.
SOURCES & VERIFICATION
We don't take any single directory's word for it. Before scoring, we cross-reference 5 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.
The same server, 5 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.
| Source | Their rating | Their star count | Their downloads | Last synced |
|---|---|---|---|---|
| AutomationSwitch This page | 4.7editorial | 25,133 | — | MAY 12, 2026 |
| PulseMCP | — unrated | unavailable | unavailable | MAY 12, 2026 |
| MCP.so | — unrated | unavailable | unavailable | MAY 12, 2026 |
| Glama | — unrated | unavailable | unavailable | MAY 12, 2026 |
| Smithery | — unrated | unavailable | unavailable | MAY 12, 2026 |
| Official MCP Registry | — unrated | unavailable | unavailable | MAY 12, 2026 |
// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.
OTHER DEV TOOLS MCP SERVERS
GitHub
Official GitHub MCP server. 29,469 stars, MIT, 33 commits on main in the last 30 days. Repo, issue, PR, action, and code search tools backed by the GitHub REST + GraphQL APIs.
Playwright
Official Microsoft Playwright MCP server. Browser automation tools (navigate, click, fill, screenshot, evaluate JS, network capture) backed by Playwright. 31,942 stars, 35 commits/30d, Apache-2.0.
Repomix
Pack the entire repository into a single AI-friendly file. Optimised context for feeding codebases to Claude, ChatGPT, Gemini, and others. 24,515 GitHub stars and 100 commits on main in the last 30 days.
Serena
Powerful MCP toolkit for coding. Provides semantic retrieval and editing capabilities, positioned as the IDE for the agent. 23,971 GitHub stars and 100 commits on main in the last 30 days.
Model Context Protocol Specification
The official specification and documentation for the Model Context Protocol. The source of truth for the protocol that every MCP server in this directory implements. 8,090 GitHub stars and 100 commits on main in the last 30 days.
MCP Registry
The community-driven registry service for MCP servers, maintained by the Model Context Protocol project. Discover, list, and validate MCP servers from inside agents. 6,781 GitHub stars and 65 commits on main in the last 30 days.
DISCUSS YOUR
MCP REQUIREMENTS.
Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.