Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencontextprotocol_sdk-0.2.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencontextprotocol_sdk-0.2.0-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

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

Hashes for opencontextprotocol_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8b1c10cf04a42b65f70c2f5918603e7dc06a362ca246dba181ce7a4e3ef53f0a
MD5 f7a4fc8e9d16206e23f8e481173d5d56
BLAKE2b-256 bdbd0be161d0ff265e24d2b80c5c0a80c60e336e98f16d608c3c282c7c77c89d

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencontextprotocol_sdk-0.2.0.tar.gz:

Publisher: publish.yml on Rajesh1213/OCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opencontextprotocol_sdk-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opencontextprotocol_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9307e4860758ac749ed60937a599f9aacec13bfc21981d1b99d37e8fa0ecfc70
MD5 39a4142184f2bb8a8f0e937dcf3056ea
BLAKE2b-256 536731dfb090a1868851d7ccebe8cb7551706e21e892b19625d8121e6951e32a

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencontextprotocol_sdk-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Rajesh1213/OCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page