tadata-org/fastapi_mcp
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! observed · 2026-08-28
Health v2 · maintenance only
45/100
- Activity 53
- Release rhythm 40
- Longevity 38
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 543
- days_rel: 401
- days_push: 282
- n_releases_24m: 10
Adoption not part of the score
11988 stars · 964 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
FastAPI-MCP is a Python library that automatically exposes FastAPI endpoints as Model Context Protocol (MCP) tools, preserving request/response schemas and documentation. It supports authentication via existing FastAPI dependencies and can mount the MCP server onto the same app or deploy it separately.
Use cases
- turn my fastapi api into mcp tools for claude
- expose rest endpoints to ai agents via mcp
- add an mcp server to an existing fastapi app
- connect cursor or windsurf to my api
- secure mcp tools with fastapi auth dependencies
- auto-generate mcp server from openapi schemas
When to choose
- you already have a FastAPI app and want AI agents to call its endpoints
- you want zero-config MCP generation with schema and docs preservation
- you need authentication on MCP tools reusing FastAPI dependencies
When to avoid
- you need custom MCP tools that don't map to API endpoints
- your backend isn't FastAPI/Python
- you need fine-grained control over tool definitions beyond endpoint metadata
Facets
library · maturity active
mcp api-framework auth authorization middleware artificial-intelligence large-language-models web-development backend apis python self-hosted fastapi mcp-server openapi llm-tools claude cursor windsurf asgi ai-agents web-server
7 sources
- readme: https://github.com/tadata-org/fastapi_mcp · fetched 2026-08-28 · 0af3f1721182
- homepage: https://fastapi-mcp.tadata.com/ · fetched 2026-08-29 · 67f318229091
- site_page: https://fastapi-mcp.tadata.com/getting-started/installation · fetched 2026-08-29 · 113dd6eb0b9d
- site_page: https://fastapi-mcp.tadata.com/getting-started/quickstart · fetched 2026-08-29 · 08dcb60aa1b6
- site_page: https://fastapi-mcp.tadata.com/getting-started/FAQ · fetched 2026-08-29 · 01536ade3545
- site_page: https://fastapi-mcp.tadata.com/getting-started/best-practices · fetched 2026-08-29 · af2a7801e620
- registry_pypi: https://pypi.org/pypi/fastapi_mcp/json · fetched 2026-08-29 · 5d61aaeae6b8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tadata-org/fastapi_mcp | main | 45 |
For agents
markdown · JSON · MCP: product_card(name="tadata-org/fastapi_mcp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem