{"data":{"slug":"modelcontextprotocol-python-sdk","name":"python-sdk","tagline":"Official Python SDK for Model Context Protocol","github_url":"https://github.com/modelcontextprotocol/python-sdk","owner":"modelcontextprotocol","repo":"python-sdk","owner_avatar_url":"https://avatars.githubusercontent.com/u/182288589?v=4","primary_language":"Python","stars":23827,"forks":3728,"topics":[],"archived":false,"github_pushed_at":"2026-07-31T17:48:42+00:00","maintenance_label":"Very active","url":"https://www.graphcanon.com/tools/modelcontextprotocol-python-sdk","markdown_url":"https://www.graphcanon.com/tools/modelcontextprotocol-python-sdk.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/modelcontextprotocol-python-sdk","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=modelcontextprotocol-python-sdk","description":"The official Python SDK for Model Context Protocol servers and clients","homepage_url":"https://py.sdk.modelcontextprotocol.io/","license":"MIT","open_issues":492,"watchers":175,"ai_summary":"Provides tools and interfaces for interacting with the Model Context Protocol through server and client setups.","readme_excerpt":"## Installation\n\n```bash\nuv add \"mcp[cli]\"      # or: pip install \"mcp[cli]\"\n```\n\nThe `cli` extra adds the `mcp` command-line tool (`mcp dev`, `mcp run`, `mcp install`) on top of the SDK; install plain `mcp` if you don't need it. For one-off commands, `uv run --with \"mcp[cli]\" mcp ...` works without a project.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/modelcontextprotocol/python-sdk/blob/main/LICENSE) file for details.\n\n[pypi-badge]: https://img.shields.io/pypi/v/mcp.svg\n[pypi-url]: https://pypi.org/project/mcp/\n[mit-badge]: https://img.shields.io/pypi/l/mcp.svg\n[mit-url]: https://github.com/modelcontextprotocol/python-sdk/blob/main/LICENSE\n[python-badge]: https://img.shields.io/pypi/pyversions/mcp.svg\n[python-url]: https://www.python.org/downloads/\n[docs-badge]: https://img.shields.io/badge/docs-python--sdk-blue.svg\n[docs-url]: https://py.sdk.modelcontextprotocol.io/\n[protocol-badge]: https://img.shields.io/badge/protocol-modelcontextprotocol.io-blue.svg\n[protocol-url]: https://modelcontextprotocol.io\n[spec-badge]: https://img.shields.io/badge/spec-spec.modelcontextprotocol.io-blue.svg\n[spec-url]: https://modelcontextprotocol.io/specification/latest","github_created_at":"2024-09-24T21:01:35+00:00","created_at":"2026-07-07T22:36:51.685804+00:00","updated_at":"2026-08-01T06:00:46.800808+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"model-context-protocol","name":"model-context-protocol"},{"slug":"python","name":"python"},{"slug":"sdk","name":"sdk"},{"slug":"server-client-interaction","name":"server-client interaction"}],"trust":{"provenance":{"is_fork":false,"github_id":862584018,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-01T06:00:46.066Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":11,"days_since_push":0,"last_release_at":"2026-07-28T13:41:36Z"},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:28:55.474Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-01T06:00:46.492Z"},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-08-01T06:00:46.492Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-08-01T06:00:46.492Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-08-01T06:00:46.492Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["- When you need to interact with the Model Context Protocol through a Python-based setup, either as a server or a client.","- For developers who are working on pre-release version v2.0.0b1 and require features not available in stable versions of 1.x.","- If you prefer Python for development and want an official SDK that closely aligns with the Model Context Protocol standards."],"when_not_to_use":["- When using a different programming language, as this is a Python-specific SDK.","- For developers requiring stability over bleeding-edge features; as a pre-release tool (v2.0.0b1), it may include experimental or unstable elements.","- If you are developing projects specifically targeted to leverage the mature and stable v1.x release series."],"source":"enrich:decision_facts","observed_at":"2026-07-11T10:57:55.429Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"Decision-Critical Facts for the Python SDK for Model Context Protocol"}]}}