fastmcp and fastapi_mcp

These are complements: fastmcp is a general-purpose framework for building MCP servers and clients in Python, while fastapi_mcp is a specialized adapter that lets you expose existing FastAPI applications as MCP servers, allowing developers to leverage both frameworks together.

fastmcp
94
Verified
fastapi_mcp
72
Verified
Maintenance 25/25
Adoption 25/25
Maturity 25/25
Community 19/25
Maintenance 6/25
Adoption 22/25
Maturity 25/25
Community 19/25
Stars: 23,593
Forks: 1,813
Downloads: 78,413,808
Commits (30d): 184
Language: Python
License: Apache-2.0
Stars: 11,644
Forks: 921
Downloads: 40,412,390
Commits (30d): 0
Language: Python
License: MIT
No risk flags
No risk flags

About fastmcp

PrefectHQ/fastmcp

🚀 The fast, Pythonic way to build MCP servers and clients.

Provides automatic schema generation and validation from Python type hints while supporting three core patterns: servers that expose tools/resources/prompts to LLMs, clients for connecting to any MCP endpoint, and interactive apps with UI rendering. Built on the Model Context Protocol standard with integrated transport negotiation, authentication, and lifecycle management across stdio, SSE, and other channels.

About fastapi_mcp

tadata-org/fastapi_mcp

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

Integrates directly with FastAPI's ASGI interface instead of making HTTP calls, preserving endpoint schemas and documentation while leveraging existing FastAPI dependency injection for authentication. Supports both co-located and separate deployment modes, with minimal configuration required to expose endpoints as MCP tools that LLMs can invoke.

Scores updated daily from GitHub, PyPI, and npm data. How scores work