python-sdk logo

python-sdk

modelcontextprotocol/python-sdk

Official Python SDK for Model Context Protocol servers and clients

GraphCanon updated Oct 29, 2026 · GitHub synced Oct 29, 2026

24k stars3.9k forksLast push Sep 17, 2026 Python MIT

Decision brief

Unverified catalog guidance: The python-sdk is the official Python SDK for Model Context Protocol servers and clients, offering a CLI for development and deployment tasks.

Good fit when

  • Unverified catalog guidance: 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.
  • Unverified catalog guidance: Choose this SDK if you are working on projects that require the Model Context Protocol, as it is the official tool for this protocol.

Avoid when

  • Unverified catalog guidance: 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.
  • Unverified catalog guidance: 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.
Pricing:
freemium - The python-sdk is free to use, with no additional costs for the core functionality.
Requirements:
Min 1 GB RAM; Ensure Python is installed on your system to use the python-sdk.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 20, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/modelcontextprotocol/python-sdk
Source repository

Relationship proposals(3)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Provides tools for interacting with Model Context Protocol servers and clients, including a CLI for development and deployment tasks.

Capability facts

CLI
Unknown; CLI entrypoint not verified

Source: pyproject.toml:[project.scripts] · Sep 18, 2026

Languages
python

Source: github.language+pyproject.toml · Sep 18, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

nder the MIT License. See the [LICENSE](https://github.com/modelcontextprotocol/python-sdk/blob/main/LICENSE) file for details.
Source link

Tags

README

Installation The extra adds the command line tool ( , , ) on top of the SDK; install plain if you don't need it. For one off commands, works without a project. License This project is licensed under the MIT License. See the LICENSE file for details. [pypi badge]: https://img.shie...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.