python-sdk logo

python-sdk

modelcontextprotocol/python-sdk

Official Python SDK for Model Context Protocol servers and clients

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

55views this month

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

Decision brief

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

  • 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.

Avoid when

  • 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.
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

pip install python-sdk
PyPI

How it fits your stack(3)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

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
CLI entrypoint

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.