Skip to content
repository radar
Agents & Orchestration

🖥️FastAPI-MCP

ACTIVE STEADY

tadata-org/fastapi_mcp · homepage ↗

Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

⭐ Very popular: 12k stars, gaining about 9 a week

View on GitHub ↗

repo profile

vintage 2025 1 year old
delivery library
language Python
license MIT

momentum

total stars 12k
stars added last week +9
weekly downloads 2M /wk · PyPI
commits / week 0 steady
issues closed 16% ~10d to close, median
contributors 18
release cadence fortnightly
last activity 8mo ago

durability

backing community / independent small team
openness permissive

since we covered it

monthly average + 223/mo (+2%/mo) · + 3k total since PR#15

why it's a big deal

  • Turns existing FastAPI endpoints into MCP tools that AI agents can call, so teams expose an API to agents without writing a separate MCP server.
  • Reuses FastAPI's Depends() dependency injection for auth, so existing endpoint security carries over to the MCP interface.
  • Preserves request and response schemas plus Swagger/OpenAPI documentation, so tool definitions stay in sync with the API they wrap.

under the hood

  • Written in Python, requires 3.10 or newer, MIT licensed, at version 0.4.0 with about 12k stars.
  • Mounts an MCP server at /mcp with two lines, FastApiMCP(app) then mcp.mount(), either on the same app or as a separate server.
  • Communicates with the FastAPI app over the ASGI interface directly rather than making HTTP calls, and models tools from FastAPI internals instead of generic OpenAPI conversion.

Radar summary, generated from the project's public sources

star history

PR#15 · 9k12k now Mar 2025Aug 2026
  1. PR#15 9k 2025-08-20
  2. now 12k + 3k since first covered

curve is sampled from GitHub's star history, plus our own daily readings since we covered it; the dashed stretch is before we first covered it, the solid line since. figures at coverage are the numbers we printed then (approx.), current count is live.

understory

Better known than its recent output, coasting a little on attention.

-44 understory score output 0 · clout 44
Aug 2025 Jul 2026
  • output, commits & releases
  • clout, star velocity

output = commits & releases; clout = star velocity, both 0 to 100 monthly indices; the gap where output runs above clout is the understory. The understory →

covered in

  • PR#15 2025-08-20 below the radar

    MCP-Enable Your FastAPI

similar projects

compare these →
  • 🗜️ headroom

    5.5× the stars

    Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

    66k ACTIVE
  • 🛠️ Klavis AI

    leaner, 6k stars

    Klavis AI: MCP integration platforms that let AI agents use tools reliably at any scale

    6k ACTIVE
  • hermes-agent

    19× the stars

    The agent that grows with you

    231k ACTIVE

comments

Sign in with GitHub to add your blip on FastAPI-MCP.

loading comments…