Skip to main content

opencontextprotocol-sdk

One-line install for Open Context Protocol.

pip install opencontextprotocol-sdk              # server + client
pip install opencontextprotocol-sdk[router]      # + hybrid local/cloud routing (Ollama)
pip install opencontextprotocol-sdk[anthropic]   # + Anthropic Claude paid backend
pip install opencontextprotocol-sdk[openai]      # + OpenAI paid backend
pip install opencontextprotocol-sdk[full]        # everything

This is a meta-package. It installs and keeps in sync:

Package What it provides
ocp-server MCP server — runs in your IDE via .mcp.json
ocp-client Python async client SDK
ocp-router Hybrid routing layer (optional)

Quick start

# IDE integration (Claude Code, Cursor, Windsurf)
pip install opencontextprotocol-sdk
uvx ocp-server   # or configure via .mcp.json
# With hybrid routing (local model handles simple tasks)
pip install opencontextprotocol-sdk[router]
ollama pull llama3.2

See opencontextprotocol.ai for full documentation.

Metadata

Release files for opencontextprotocol-sdk 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opencontextprotocol-sdk 0.3.0
File Size Uploaded Provenance Actions
opencontextprotocol_sdk-0.3.0.tar.gz 1.5 kB With provenance Details for opencontextprotocol_sdk-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for opencontextprotocol-sdk 0.3.0
File Interpreter ABI Platform Actions
opencontextprotocol_sdk-0.3.0-py3-none-any.whl Python 3 none any Details for opencontextprotocol_sdk-0.3.0-py3-none-any.whl

Total release size: 3.3 kB

Release files / opencontextprotocol_sdk-0.3.0.tar.gz

Download URL opencontextprotocol_sdk-0.3.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3c4be3daa92fc39f998a4e76a9152dce7f3a432f6ee2c86ed6bdcbbbad86b7de
BLAKE2b-256 checksum
How to use checksums
caf53cda889e188ae03a29a835a856132a6fff506a08d31ce49f120626cbb424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 23, 2026.

Transparency log

Release files / opencontextprotocol_sdk-0.3.0-py3-none-any.whl

Download URL opencontextprotocol_sdk-0.3.0-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a5863b67bee1338df15d8901235f525431fec7bf058805938a3261e518f1704
BLAKE2b-256 checksum
How to use checksums
25cdaf9883560d15f410e999d48a0fcf96e4013b87e22c34878b49fd9dc28ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 23, 2026.

Transparency log

Security for opencontextprotocol-sdk 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for opencontextprotocol_sdk-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page