{"data":{"slug":"modelcontextprotocol-python-sdk","name":"python-sdk","tagline":"Official Python SDK for Model Context Protocol servers and clients","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":24325,"forks":3944,"topics":["mcp","mcp-client","mcp-server","python"],"archived":false,"github_pushed_at":"2026-09-17T14:53:58+00:00","maintenance_label":"Very active","stars_delta_30d":498,"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":428,"watchers":178,"ai_summary":"Provides tools for interacting with Model Context Protocol servers and clients, including a CLI for development and deployment tasks.","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-09-20T04:28:34.471079+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"},{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"}],"tags":[{"slug":"cli","name":"cli"},{"slug":"development","name":"development"},{"slug":"mcp","name":"mcp"},{"slug":"mcp-client","name":"mcp-client"},{"slug":"mcp-server","name":"mcp-server"},{"slug":"protocol","name":"protocol"},{"slug":"python","name":"python"},{"slug":"sdk","name":"sdk"}],"trust":{"provenance":{"is_fork":false,"github_id":862584018,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-18T08:08:01.475Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":13,"days_since_push":0,"last_release_at":"2026-09-07T15:53:57Z","stars_delta_30d":498,"open_issues_delta_30d":-64},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-09-20T04:00:39.194Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-18T08:08:00.374Z"},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-09-18T08:08:00.374Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-09-18T08:08:00.374Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-09-18T08:08:00.374Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"freemium","summary":"The python-sdk is free to use, with no additional costs for the core functionality."},"requirements":{"notes":["Ensure Python is installed on your system to use the python-sdk."],"min_ram_gb":1,"requires_docker":false},"constraints":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"when_to_use":["Use the python-sdk when you need to interact with Model Context Protocol servers and clients, as it provides a dedicated CLI for development and deployment tasks.","Choose this SDK if you are working on projects that require the Model Context Protocol, as it is the official tool for this protocol."],"when_not_to_use":["Avoid using the python-sdk if your project does not involve Model Context Protocol servers or clients, as the SDK is specifically tailored for this protocol.","Do not use this SDK if you are looking for a general-purpose Python SDK that supports a wide range of protocols, as it is specialized for the Model Context Protocol."],"source":"enrich:decision_facts","observed_at":"2026-09-18T11:58:11.034Z"},"constraint_facets":{"min_ram_gb":1,"pricing_model":"freemium","requires_docker":false},"decision_summary":[{"label":"Pricing","value":"freemium - The python-sdk is free to use, with no additional costs for the core functionality."},{"label":"Requirements","value":"Min 1 GB RAM; Ensure Python is installed on your system to use the python-sdk."},{"label":"Adopt for","value":"The python-sdk is the official Python SDK for Model Context Protocol servers and clients, offering a CLI for development and deployment tasks."},{"label":"License detail","value":"The python-sdk is distributed under the MIT License, allowing for free use, modification, and distribution."}]}}