# MCP Python SDK

> Official Python SDK for MCP servers and clients

Build MCP servers and clients in Python, including the FastMCP decorator API for exposing tools and resources in a few lines.

- Source: https://github.com/modelcontextprotocol/python-sdk
- Homepage: https://py.sdk.modelcontextprotocol.io/
- License: MIT
- Language: Python
- Stars: 24463
- Forks: 4003
- Contributors: 201
- Last commit: 2026-10-02
- Latest release: v2.3.0 (2026-10-02)
- Purpose: MCP servers
- Runs on: Library / SDK
- For: Personal, Enterprise

## Worth score: 81/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 22/25
- Momentum: 10/20
- Maintenance: 25/25
- Community: 13/15
- Readiness: 11/15

## Install

pip:

```
pip install "mcp[cli]"
```

## Alternatives

- [MemPalace](https://diggithub.com/MemPalace/mempalace.md): Open-source AI memory system
- [gpt-researcher](https://diggithub.com/assafelovic/gpt-researcher.md): Autonomous deep research agent for web and local documents
- [FastMCP](https://diggithub.com/PrefectHQ/fastmcp.md): Fast, Pythonic way to build MCP servers
- [Composio](https://diggithub.com/ComposioHQ/composio.md): Toolkits and auth for AI agents
- [MCP TypeScript SDK](https://diggithub.com/modelcontextprotocol/typescript-sdk.md): Official TypeScript SDK for MCP servers and clients
- [Playwright MCP](https://diggithub.com/microsoft/playwright-mcp.md): Browser automation for agents through Playwright
- [GitHub MCP Server](https://diggithub.com/github/github-mcp-server.md): GitHub's official MCP server
- [Chrome DevTools MCP](https://diggithub.com/ChromeDevTools/chrome-devtools-mcp.md): Chrome DevTools for coding agents

---

Source page: https://diggithub.com/modelcontextprotocol/python-sdk
Updated: 2026-10-03
