modelcontextprotocol/python-sdk
The official Python SDK for Model Context Protocol servers and clients
This is the official Python SDK for the Model Context Protocol (MCP). It allows developers to build applications that can exchange information with Large Language Models (LLMs) in a standardized way. Using this SDK, you can create servers that provide data (resources), define functions (tools), and manage reusable interaction templates (prompts) for LLMs, or build clients that consume these services. It takes Python code defining resources, tools, and prompts, and outputs an MCP-compliant server or client.
22,499 stars. Used by 510 other packages. Actively maintained with 22 commits in the last 30 days. Available on PyPI.
Use this if you are a Python developer building applications that need to provide specific, structured context or functionality to LLMs, or consume such services.
Not ideal if you are looking for an off-the-shelf LLM application or a general-purpose LLM orchestration framework, rather than a protocol implementation.
Stars
22,499
Forks
3,268
Language
Python
License
MIT
Category
Last pushed
Apr 03, 2026
Commits (30d)
22
Dependencies
14
Reverse dependents
510
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/modelcontextprotocol/python-sdk"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Recent Releases
Related servers
modelcontextprotocol/typescript-sdk
The official TypeScript SDK for Model Context Protocol servers and clients
vmoranv/jshookmcp
js hook toolkit that all you need
alpic-ai/skybridge
Skybridge is a framework for building ChatGPT & MCP Apps
modelcontextprotocol/csharp-sdk
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration...
jxnxts/mcp-brasil
MCP Server para 41 APIs públicas brasileiras