FastMCP (Python)
Fast, Pythonic framework for building MCP servers and clients for AI tool integration.
Used in agent projects
169
1.3% of 12,697 public repos built with AI coding agents
Rank in agent, mcp and tool libraries
#3 of 9
by use in those projects
Downloads
14.3M
PyPI, last 7 days, fastmcp
GitHub stars
28K
last push Oct 10, 2026
How FastMCP (Python) is used
FastMCP (Python) is a dependency in 169 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.3%), #3 of 9 in agent, mcp and tool libraries. The most used alternative there is Model Context Protocol SDK (JavaScript). Projects that use it most often also use python-dotenv (47.3%), Pydantic (45.0%), Model Context Protocol SDK (Python) (30.2%).
Often used with FastMCP (Python)
| python-dotenv | 47.3% of FastMCP (Python) projects · 7.3× more than average |
|---|---|
| Pydantic | 45.0% of FastMCP (Python) projects · 8.8× more than average |
| Model Context Protocol SDK (Python) | 30.2% of FastMCP (Python) projects · 7.9× more than average |
| httpx | 30.2% of FastMCP (Python) projects · 14.4× more than average |
| Uvicorn | 30.2% of FastMCP (Python) projects · 7.0× more than average |
| FastAPI | 29.0% of FastMCP (Python) projects · 6.9× more than average |
| Requests | 26.6% of FastMCP (Python) projects · 5.0× more than average |
| Pydantic Settings | 21.3% of FastMCP (Python) projects · 10.8× more than average |
By coding agent
| GitHub Copilot | 3.8% of projects set up for it |
|---|---|
| Claude Code | 1.9% of projects set up for it |
| Cursor | 1.6% of projects set up for it |
| Gemini CLI | 1.8% of projects set up for it |
| OpenCode | 1.9% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
Share of public repos configured for each agent that list FastMCP (Python) as a dependency.
Install
| Package | pip install fastmcp |
|---|---|
| Main stacks | Python (166), Next.js (2), .NET (1) |
| Example projects | MAA-AI/MaaMCP, zilliztech/mcp-server-milvus, ericzakariasson/uber-eats-mcp-server, Azure-Samples/python-mcp-demos, twjackysu/TWSEMCPServer |
Alternatives to FastMCP (Python)
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Model Context Protocol SDK (JavaScript) npm TypeScript SDK for building MCP servers and clients to extend AI agent capabilities. |
603 (4.7%) | 65.4M | 13.5K | MIT |
| Model Context Protocol SDK (Python) pypi Python SDK for building MCP servers and clients to extend AI agent capabilities. |
484 (3.8%) | 60.6M | 24.5K | MIT |
| LangChain (Python) pypi Framework for composing applications with LLMs through chains and agents. |
141 (1.1%) | 37.3M | 148K | MIT |
| LangGraph pypi Framework for building stateful, multi-actor applications with LLMs. |
82 (0.6%) | 12.1M | 43K | — |
| LangChain.js npm Build applications with LLMs using composable abstractions for chains, agents and memory. |
67 (0.5%) | 6.2M | 18.3K | MIT |
| Mastra npm Framework for building AI agents with tools, memory and MCP server support. |
39 (0.3%) | 2M | 28.7K | Apache-2.0 |
| fastMCP (JavaScript) npm TypeScript framework for building Model Context Protocol servers. |
33 (0.3%) | 709K | 3,274 | MIT |
| LangChain (JavaScript) npm TypeScript framework for building applications with LLMs, chains, agents and memory. |
30 (0.2%) | 3.1M | 18.3K | MIT |