BigHugger
GH Repository · modelcontextprotocol

python-sdk

The official Python SDK for Model Context Protocol servers and clients

stars
24,300
30-day movement
starts with the next reading
Related entries
1
Connections
4
mcp-sdkPythonmcp-servermcp-clientmcppython/uvpython

This is the official Python SDK for the Model Context Protocol, providing libraries for building both MCP servers and clients. The repository includes agent-facing documentation files (AGENTS.md, CLAUDE.md) and a Claude configuration directory, and is developed under the modelcontextprotocol organization with a toolchain based on Python and uv.

It is the reference implementation for writing MCP integrations in Python, so it is the default starting point for connecting Python code to MCP-compatible clients and servers.

Use it to

  • Build an MCP server exposing tools or resources from Python code
  • Implement an MCP client to connect to MCP servers
  • Integrate Python services with MCP-compatible assistants
  • Explore the reference implementation of the MCP specification
  • Set up a Python MCP project with uv

For Python developers building or integrating with MCP servers and clients

Role
mcp-sdk
Language
Python
Licence
MIT
Forks
3,922
Open issues
232
Last push
2026-09-10
Latest release
v0.9.1 · 2024-11-20
Skills shipped
1
topicspythonmcpsdkmcp-servermcp-clientprotocol