MCP Python SDK
The official Python SDK for Model Context Protocol servers and clients. Maintained by the Model Context Protocol project. 22,984 GitHub stars and 5 commits on main in the last 30 days.
“The official Python SDK for Model Context Protocol servers and clients. Maintained by the Model Context Protocol project. 22,984 stars and 5 commits on main in the last 30 days.”
INSTALL THIS SERVER
{
"mcpServers": {
"my-mcp-server": {
"command": "python",
"args": [
"-m",
"my_mcp_server"
]
}
}
}
{
"mcpServers": {
"my-mcp-server": {
"command": "python",
"args": [
"-m",
"my_mcp_server"
]
}
}
}
{
"mcpServers": {
"my-mcp-server": {
"command": "python",
"args": [
"-m",
"my_mcp_server"
]
}
}
}
{
"mcpServers": {
"my-mcp-server": {
"command": "python",
"args": [
"-m",
"my_mcp_server"
]
}
}
}
{
"mcpServers": {
"my-mcp-server": {
"command": "python",
"args": [
"-m",
"my_mcp_server"
]
}
}
}
5 TOOLS AVAILABLE
OUR ASSESSMENT
- 22,984 GitHub stars.
- 5 commits on main in the last 30 days.
- Pure MIT license (Anthropic, PBC).
- Maintained by the Model Context Protocol project.
- Reference implementation for the protocol.
- SDK-level scope; ergonomics improved by frameworks like FastMCP.
- API surface evolves with the protocol; pin versions in production.
- No built-in auth; each server must implement its own.
SDK has no auth by default. Servers built with the SDK must add authentication for production. Recommended pattern: middleware-style auth check before tool invocation.
Python developers who want the official reference implementation; teams building MCP servers that need protocol-level control; FastMCP users who want to peek beneath the abstraction.
TECHNICAL DETAILS
ADOPTION METRICS
// Reading this22,984 stars on modelcontextprotocol/python-sdk. 5 commits on main in the last 30 days. License pure MIT confirmed via direct LICENSE file inspection.
// Reading thisPairs with FastMCP (Python), the MCP TypeScript SDK, Go SDK, and C# SDK in the official MCP language layer.
SOURCES & VERIFICATION
We don't take any single directory's word for it. Before scoring, we cross-reference 5 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.
The same server, 5 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.
| Source | Their rating | Their star count | Their downloads | Last synced |
|---|---|---|---|---|
| AutomationSwitch This page | 4.7editorial | 22,984 | — | MAY 14, 2026 |
| PulseMCP | — unrated | unavailable | unavailable | MAY 14, 2026 |
| MCP.so | — unrated | unavailable | unavailable | MAY 14, 2026 |
| Glama | — unrated | unavailable | unavailable | MAY 14, 2026 |
| Smithery | — unrated | unavailable | unavailable | MAY 14, 2026 |
| Official MCP Registry | — unrated | unavailable | unavailable | MAY 14, 2026 |
// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.
OTHER DEV TOOLS MCP SERVERS
GitHub
Official GitHub MCP server. 29,469 stars, MIT, 33 commits on main in the last 30 days. Repo, issue, PR, action, and code search tools backed by the GitHub REST + GraphQL APIs.
Playwright
Official Microsoft Playwright MCP server. Browser automation tools (navigate, click, fill, screenshot, evaluate JS, network capture) backed by Playwright. 31,942 stars, 35 commits/30d, Apache-2.0.
FastMCP (Python)
The fast, Pythonic way to build MCP servers and clients. Maintained by PrefectHQ. 25,133 GitHub stars and 92 commits on main in the last 30 days. The dominant Python MCP framework.
Repomix
Pack the entire repository into a single AI-friendly file. Optimised context for feeding codebases to Claude, ChatGPT, Gemini, and others. 24,515 GitHub stars and 100 commits on main in the last 30 days.
Serena
Powerful MCP toolkit for coding. Provides semantic retrieval and editing capabilities, positioned as the IDE for the agent. 23,971 GitHub stars and 100 commits on main in the last 30 days.
MCP TypeScript SDK
The official TypeScript SDK for Model Context Protocol servers and clients. Maintained by the Model Context Protocol project. 12,422 GitHub stars and 18 commits on main in the last 30 days.
DISCUSS YOUR
MCP REQUIREMENTS.
Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.