https://github.com/modelcontextprotocol/python-sdk
mcp mcp-client mcp-server python
Score: 35.10024576442034
Last synced: about 4 hours ago
JSON representation
Repository metadata:
The official Python SDK for Model Context Protocol servers and clients
- Host: GitHub
- URL: https://github.com/modelcontextprotocol/python-sdk
- Owner: modelcontextprotocol
- License: mit
- Created: 2024-09-24T21:01:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-08-21T16:24:16.000Z (2 days ago)
- Last Synced: 2026-08-22T17:43:02.362Z (1 day ago)
- Topics: mcp, mcp-client, mcp-server, python
- Language: Python
- Homepage: https://py.sdk.modelcontextprotocol.io/
- Size: 14.7 MB
- Stars: 24,089
- Watchers: 177
- Forks: 3,826
- Open Issues: 398
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Roadmap: ROADMAP.md
- Agents: AGENTS.md
- Claude: CLAUDE.md
Owner metadata:
- Name: Model Context Protocol
- Login: modelcontextprotocol
- Email:
- Kind: organization
- Description: An open protocol that enables seamless integration between LLM applications and external data sources and tools.
- Website: https://modelcontextprotocol.io
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/182288589?v=4
- Repositories: 1
- Last Synced at: 2024-11-25T17:24:25.305Z
- Profile URL: https://github.com/modelcontextprotocol
Committers metadata
Last synced: 5 days ago
Total Commits: 939
Total Committers: 195
Avg Commits per committer: 4.815
Development Distribution Score (DDS): 0.77
Commits in past year: 461
Committers in past year: 91
Avg Commits per committer in past year: 5.066
Development Distribution Score (DDS) in past year: 0.531
| Name | Commits | |
|---|---|---|
| Max | 2****y | 216 |
| David Soria Parra | d****p@a****m | 170 |
| Marcelo Trylesinski | m****e@g****m | 114 |
| Inna Harper | i****r@g****m | 59 |
| Felix Weinberger | 3****r | 38 |
| Justin Spahr-Summers | j****n@a****m | 25 |
| Nick Merrill | m****l@a****m | 18 |
| Jerome | j****e@a****m | 10 |
| dependabot[bot] | 4****] | 9 |
| Henry Mao | 1****a | 9 |
| Peter Alexander | p****a@a****m | 7 |
| Luca Chang | 1****g | 6 |
| bhosmer-ant | b****l@a****m | 6 |
| Paul Carleton | p****r@g****m | 6 |
| Christian Clauss | c****s@m****m | 5 |
| Samuel Colvin | s****@m****m | 5 |
| Yann Jouanin | 4****r | 5 |
| restlessronin | 8****n | 4 |
| Jonathan Hefner | j****n@h****o | 4 |
| Jeremiah Lowin | 1****n | 4 |
| Allen Porter | a****r@g****m | 4 |
| AishwaryaKalloli | 3****i | 3 |
| Camila Rondinini | c****a@a****m | 3 |
| Tapan Chugh | c****n@g****m | 3 |
| Yukuan Jia | j****n@h****m | 3 |
| shaun smith | 1****e | 3 |
| Thomas Sheffler | t****r@g****m | 3 |
| David Dworken | d****n@a****m | 3 |
| Salman Mohammed | s****d@s****m | 2 |
| Sreenath Somarajapuram | s****m@g****m | 2 |
| and 165 more... | ||
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 953
Total pull requests: 1,511
Average time to close issues: about 2 months
Average time to close pull requests: 23 days
Total issue authors: 764
Total pull request authors: 565
Average comments per issue: 1.76
Average comments per pull request: 1.15
Merged pull request: 468
Bot issues: 0
Bot pull requests: 17
Past year issues: 305
Past year pull requests: 572
Past year average time to close issues: about 1 month
Past year average time to close pull requests: about 1 month
Past year issue authors: 233
Past year pull request authors: 283
Past year average comments per issue: 2.1
Past year average comments per pull request: 1.06
Past year merged pull request: 70
Past year bot issues: 0
Past year bot pull requests: 16
Top Issue Authors
- maxisbey (23)
- younaman (20)
- dsp-ant (14)
- ihrpr (14)
- jspahrsummers (10)
- raolak (7)
- felixweinberger (6)
- ochafik (4)
- Phum7895 (4)
- wanderingnature (4)
- Kludex (4)
- mconflitti-pbc (4)
- sainikhiljuluri (4)
- tanhaipeng (4)
- cclabadmin (4)
Top Pull Request Authors
- ihrpr (96)
- maxisbey (91)
- dsp-ant (71)
- Kludex (68)
- felixweinberger (35)
- he-yufeng (20)
- jerome3o-anthropic (18)
- LucaButBoring (17)
- Vinisha-projects (14)
- jspahrsummers (14)
- davemssavage (12)
- bhosmer-ant (12)
- cclauss (12)
- goingforstudying-ctrl (11)
- dependabot[bot] (11)
Top Issue Labels
- bug (147)
- question (83)
- ready for work (79)
- P2 (72)
- v2 (72)
- enhancement (63)
- P3 (58)
- needs confirmation (55)
- P1 (44)
- auth (30)
- needs repro (25)
- needs decision (20)
- feature request (19)
- v1 (19)
- improves spec compliance (15)
- P0 (12)
- good first issue (12)
- documentation (11)
- fix proposed (9)
- need confirmation (8)
- spec-2026-07-28 (8)
- breaking change (7)
- wontfix (6)
- help wanted (5)
- needs SEP (4)
- PR welcome (3)
- spec (2)
- claude desktop (2)
- invalid (2)
- release (2)
Top Pull Request Labels
- bug (46)
- enhancement (29)
- needs maintainer action (27)
- needs more work (26)
- P3 (21)
- auth (20)
- P2 (19)
- improves spec compliance (16)
- needs more eyes (15)
- missing-issue-link (14)
- dependencies (13)
- needs confirmation (13)
- breaking change (10)
- v2 (9)
- documentation (7)
- python:uv (6)
- pending SEP approval (5)
- needs maintainer (5)
- github_actions (4)
- P1 (4)
- needs SEP (3)
- needs motivation (3)
- needs sync (2)
- override-readme-freeze (2)
- duplicate (2)
- code quality (2)
- P0 (1)
- improves sdk consistency (1)
- ready for work (1)
Package metadata
- Total packages: 10
-
Total downloads:
- conda: 2,799 total
- pypi: 360,847,902 last-month
- Total docker downloads: 6,324,078
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 1 (may contain duplicates)
- Total versions: 162
- Total maintainers: 10
- Total advisories: 6
proxy.golang.org: github.com/modelcontextprotocol/python-sdk
- Homepage:
- Documentation: https://pkg.go.dev/github.com/modelcontextprotocol/python-sdk#section-documentation
- Licenses: mit
- Latest release: v2.0.0+incompatible (published 26 days ago)
- Last Synced: 2026-08-22T17:33:46.676Z (1 day ago)
- Versions: 64
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.594%
- Average: 5.782%
- Dependent repos count: 5.969%
pypi.org: dive-mcp-sdk
Model Context Protocol SDK
- Homepage: https://modelcontextprotocol.io
- Documentation: https://dive-mcp-sdk.readthedocs.io/
- Licenses: MIT
- Latest release: 1.0.3 (published 7 months ago)
- Last Synced: 2026-08-22T17:32:00.978Z (1 day ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 241 Last month
-
Rankings:
- Dependent packages count: 7.872%
- Downloads: 8.456%
- Average: 20.278%
- Dependent repos count: 44.505%
- Maintainers (1)
pypi.org: mcp
Model Context Protocol SDK
- Homepage: https://modelcontextprotocol.io
- Documentation: https://py.sdk.modelcontextprotocol.io/
- Licenses: MIT
- Latest release: 2.0.0 (published 26 days ago)
- Last Synced: 2026-08-22T17:31:59.979Z (1 day ago)
- Versions: 71
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 360,842,788 Last month
- Docker Downloads: 6,324,078
-
Rankings:
- Dependent packages count: 10.032%
- Dependent repos count: 21.662%
- Average: 22.227%
- Forks count: 22.605%
- Downloads: 24.971%
- Stargazers count: 31.864%
- Maintainers (4)
-
Advisories:
- MCP Python SDK: WebSocket server transport does not support Host/Origin validation
- MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
- MCP Python SDK: Experimental task handlers allow any client to access and cancel other clients' tasks
- Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
- MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
- MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
pypi.org: hud-mcp-python-sdk
Model Context Protocol SDK
- Homepage: https://modelcontextprotocol.io
- Documentation: https://hud-mcp-python-sdk.readthedocs.io/
- Licenses: MIT
- Latest release: 3.13.2 (published 12 months ago)
- Last Synced: 2026-08-22T17:32:18.006Z (1 day ago)
- Versions: 7
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,835 Last month
-
Rankings:
- Dependent packages count: 8.647%
- Average: 28.688%
- Dependent repos count: 48.728%
- Maintainers (1)
pypi.org: mcp-etdi
Model Context Protocol Python SDK with ETDI security enhancements
- Homepage: https://github.com/modelcontextprotocol/python-sdk
- Documentation: https://modelcontextprotocol.io/python
- Licenses: MIT
- Latest release: 1.0.1 (published about 1 year ago)
- Last Synced: 2026-08-22T17:32:56.270Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 16 Last month
-
Rankings:
- Dependent packages count: 9.068%
- Average: 30.081%
- Dependent repos count: 51.094%
- Maintainers (1)
pypi.org: mcp-test
Model Context Protocol SDK
- Homepage: https://modelcontextprotocol.io
- Documentation: https://mcp-test.readthedocs.io/
- Licenses: MIT
- Latest release: 1.4.0 (published over 1 year ago)
- Last Synced: 2026-08-22T17:32:39.422Z (1 day ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 22 Last month
-
Rankings:
- Dependent packages count: 9.221%
- Average: 30.582%
- Dependent repos count: 51.943%
- Maintainers (1)
anaconda.org: mcp
The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM interaction. This Python SDK implements the full MCP specification, making it easy to: * Build MCP clients that can connect to any MCP server * Create MCP servers that expose resources, prompts and tools * Use standard transports like stdio and SSE * Handle all MCP protocol messages and lifecycle events
- Homepage: https://modelcontextprotocol.io/
- Licenses: MIT
- Latest release: 2.0.0 (published 19 days ago)
- Last Synced: 2026-08-05T16:47:57.465Z (18 days ago)
- Versions: 7
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 2,799 Total
-
Rankings:
- Dependent packages count: 45.629%
- Average: 47.896%
- Dependent repos count: 50.164%
anaconda.org: mcp-types
This package holds the protocol message models, JSON-RPC envelope types, per-version surface validators, and the protocol-version registry.
- Homepage: https://modelcontextprotocol.io
- Licenses: MIT
- Latest release: 2.0.0 (published 24 days ago)
- Last Synced: 2026-07-31T08:32:52.702Z (24 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 0 Total
-
Rankings:
- Dependent packages count: 34.048%
- Dependent repos count: 37.125%
- Average: 48.754%
- Downloads: 75.089%
nixpkgs-unstable: python313Packages.mcp
Official Python SDK for Model Context Protocol servers and clients
- Homepage: https://github.com/modelcontextprotocol/python-sdk
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/mcp/default.nix#L156
- Licenses: MIT
- Latest release: 1.26.0 (published 7 months ago)
- Last Synced: 2026-03-06T04:06:57.489Z (6 months ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Maintainers (2)
nixpkgs-unstable: python314Packages.mcp
Official Python SDK for Model Context Protocol servers and clients
- Homepage: https://github.com/modelcontextprotocol/python-sdk
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/mcp/default.nix#L156
- Licenses: MIT
- Latest release: 1.26.0 (published 7 months ago)
- Last Synced: 2026-08-22T23:36:40.827Z (about 22 hours ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (2)
Dependencies
- actions/checkout v4 composite
- actions/download-artifact v4 composite
- actions/setup-python v5 composite
- actions/upload-artifact v4 composite
- astral-sh/setup-uv v3 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- astral-sh/setup-uv v3 composite
- actions/checkout df4cb1c069e1874edd31b4311f1884172cec0e10 composite
- actions/setup-node 48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e composite
- actions/upload-artifact 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a composite
- astral-sh/setup-uv fac544c07dec837d0ccb6301d7b5580bf5edae39 composite
- re-actors/alls-green 05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe composite
- mcp *
- tomli >=2.0; python_version < '3.11'
- pydantic >=2.12.0
- typing-extensions >=4.13.0
- actions/checkout df4cb1c069e1874edd31b4311f1884172cec0e10 composite
- actions/download-artifact 3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c composite
- actions/github-script ed597411d8f924073f98dfc5c65a23a2325f34cd composite
- actions/upload-artifact 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a composite
- astral-sh/setup-uv fac544c07dec837d0ccb6301d7b5580bf5edae39 composite
- cloudflare/wrangler-action ebbaa1584979971c8614a24965b4405ff95890e0 composite
- actions/checkout df4cb1c069e1874edd31b4311f1884172cec0e10 composite
- actions/configure-pages 45bfe0192ca1faeb007ade9deae92b16b8254a0d composite
- actions/deploy-pages cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 composite
- actions/upload-pages-artifact fc324d3547104276b827a68afc52ff2a11cc49c9 composite
- astral-sh/setup-uv fac544c07dec837d0ccb6301d7b5580bf5edae39 composite
- anyio >=4.5
- click >=8.2.0
- httpx2 >=2.5.0
- mcp *
- pydantic >=2.0
- pydantic-settings >=2.5.2
- sse-starlette >=1.6.1
- uvicorn >=0.23.1; sys_platform != 'emscripten'
- 125 dependencies
- actions/checkout df4cb1c069e1874edd31b4311f1884172cec0e10 composite
- anthropics/claude-code-action d5726de019ec4498aa667642bc3a80fca83aa102 composite
- actions/checkout df4cb1c069e1874edd31b4311f1884172cec0e10 composite
- zizmorcore/zizmor-action 5f14fd08f7cf1cb1609c1e344975f152c7ee938d composite
- mcp >=1.0.0
- python-dotenv >=1.0.0
- requests >=2.31.0
- uvicorn >=0.32.1
- mcp *
- mcp *
- actions/checkout df4cb1c069e1874edd31b4311f1884172cec0e10 composite
- actions/github-script ed597411d8f924073f98dfc5c65a23a2325f34cd composite