Open Context Protocol — one-line install for server, client, and hybrid routing
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opencontextprotocol_sdk-0.2.0.tar.gz.
File metadata
- Download URL: opencontextprotocol_sdk-0.2.0.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b1c10cf04a42b65f70c2f5918603e7dc06a362ca246dba181ce7a4e3ef53f0a
|
|
| MD5 |
f7a4fc8e9d16206e23f8e481173d5d56
|
|
| BLAKE2b-256 |
bdbd0be161d0ff265e24d2b80c5c0a80c60e336e98f16d608c3c282c7c77c89d
|
Provenance
The following attestation bundles were made for opencontextprotocol_sdk-0.2.0.tar.gz:
Publisher:
publish.yml on Rajesh1213/OCP
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opencontextprotocol_sdk-0.2.0.tar.gz -
Subject digest:
8b1c10cf04a42b65f70c2f5918603e7dc06a362ca246dba181ce7a4e3ef53f0a - Sigstore transparency entry: 1541617629
- Sigstore integration time:
-
Permalink:
Rajesh1213/OCP@940434aaf13245aacaae181acc3f0236d19b0377 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Rajesh1213
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@940434aaf13245aacaae181acc3f0236d19b0377 -
Trigger Event:
push
-
Statement type:
File details
Details for the file opencontextprotocol_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: opencontextprotocol_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9307e4860758ac749ed60937a599f9aacec13bfc21981d1b99d37e8fa0ecfc70
|
|
| MD5 |
39a4142184f2bb8a8f0e937dcf3056ea
|
|
| BLAKE2b-256 |
536731dfb090a1868851d7ccebe8cb7551706e21e892b19625d8121e6951e32a
|
Provenance
The following attestation bundles were made for opencontextprotocol_sdk-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on Rajesh1213/OCP
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opencontextprotocol_sdk-0.2.0-py3-none-any.whl -
Subject digest:
9307e4860758ac749ed60937a599f9aacec13bfc21981d1b99d37e8fa0ecfc70 - Sigstore transparency entry: 1541617668
- Sigstore integration time:
-
Permalink:
Rajesh1213/OCP@940434aaf13245aacaae181acc3f0236d19b0377 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Rajesh1213
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@940434aaf13245aacaae181acc3f0236d19b0377 -
Trigger Event:
push
-
Statement type: