GitHubPyPI
fastapi_mcp
#36 of 51 in the AI Agent Index ↓ Download poster
42 Score
Observed adoptionCurrent · 2026-09-12 67
MomentumCurrent · 2026-09-12 10
AttentionCurrent · 2026-09-12 37
Signal confidence Based on how many independent score dimensions currently have data.
High3/3 · 2 source types
About
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
If you prefer a managed hosted solution check out tadata.com.
We recommend using uv, a fast Python package installer:
The simplest way to use FastAPI-MCP is to add an MCP server directly to your FastAPI application:
That's it! Your auto-generated MCP server is now available at
FastAPI-MCP provides comprehensive documentation. Additionaly, check out the examples directory for code samples demonstrating these features in action.
FastAPI-MCP is designed as a native extension of FastAPI, not just a converter that generates MCP tools from your API. This approach offers several key advantages:
This design…
Across sources
4.0M Downloads / month
- Downloads / month 4.0M
- Downloads / week 782.6k
- Downloads / day 240.6k
12.0k Stars
- Stars 12.0k
- Forks 964
- Commits 250
- Releases 10