modelcontextprotocol/python-sdk
The official Python SDK for Model Context Protocol servers and clients
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.