# modelcontextprotocol/python-sdk

> The official Python SDK for Model Context Protocol servers and clients

- GitHub: https://github.com/modelcontextprotocol/python-sdk
- Website: https://py.sdk.modelcontextprotocol.io/
- Category: MCP & Tool Use (https://ideas.asveas.com/c/mcp)
- Tags: mcp, mcp-client, python
- Language: Python · License: MIT
- Stars: 24,835 · Forks: 4,119 · Open issues: 404
- Last push: 2026-11-05 (6 days ago)
- Vibe score: 89/100

## What it is
![PyPI][pypi-url] ![MIT licensed][mit-url] ![Python Version][python-url] ![Documentation][docs-url] ![Protocol][protocol-url] ![Specification][spec-url] It has a Get started guide, What's new in v2, the API reference, and the migration guide. The Model Context Protocol lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. Think of it like a web API, but designed for LLM interactions. With this SDK you can:

## When to use it
Reach for python-sdk when you want Claude, Cursor or any MCP client to reach a new tool, API or data source — it's written in Python and fits stacks tagged mcp, mcp-client.

## Maintenance
modelcontextprotocol/python-sdk looks very actively maintained: the last push was 6 days ago (2026-11-05), with 24,835 stars and 404 open issues.

## Quick start
```bash
git clone https://github.com/modelcontextprotocol/python-sdk.git
```

## Alternatives in MCP & Tool Use
- [upstash/context7](https://github.com/upstash/context7) — Context7 Platform -- Up-to-date docs for AI agents (★64.6k, TypeScript, vibe 94/100) · details: https://ideas.asveas.com/r/upstash/context7
- [punkpeye/awesome-mcp-servers](https://github.com/punkpeye/awesome-mcp-servers) — A collection of MCP servers. (★97.6k, vibe 92/100) · details: https://ideas.asveas.com/r/punkpeye/awesome-mcp-servers
- [modelcontextprotocol/servers](https://github.com/modelcontextprotocol/servers) — Model Context Protocol Reference Servers (★91.9k, TypeScript, vibe 91/100) · details: https://ideas.asveas.com/r/modelcontextprotocol/servers
- [PrefectHQ/fastmcp](https://github.com/PrefectHQ/fastmcp) — 🚀 The fast, Pythonic way to build MCP servers and clients. (★28.4k, Python, vibe 90/100) · details: https://ideas.asveas.com/r/PrefectHQ/fastmcp
- [microsoft/playwright-mcp](https://github.com/microsoft/playwright-mcp) — Playwright MCP server (★39.5k, TypeScript, vibe 87/100) · details: https://ideas.asveas.com/r/microsoft/playwright-mcp
- [github/github-mcp-server](https://github.com/github/github-mcp-server) — GitHub's official MCP Server (★34.4k, Go, vibe 87/100) · details: https://ideas.asveas.com/r/github/github-mcp-server

---
Source: https://ideas.asveas.com/r/modelcontextprotocol/python-sdk · Catalog: https://ideas.asveas.com/llms.txt
