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.1.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.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file opencontextprotocol_sdk-0.2.1.tar.gz.

File metadata

  • Download URL: opencontextprotocol_sdk-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4777cb63faf670410f83bb987e8774c673a51e7cf310f7fb30d0bc9098c7619c
MD5 beec4245d2da992214e5492f02af0ad8
BLAKE2b-256 4bbc582d95895621d8beb45327f0feeb99e6053e53c788cdeb91fa948e35f1a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencontextprotocol_sdk-0.2.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for opencontextprotocol_sdk-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d412459debc27c6d704967ecba3a646c7c3350f34adffb1247bbeba016f82c
MD5 0717a1b1335b683621cf6f49b0e56393
BLAKE2b-256 d40afdfedb5dcf381309f7582fce5962660a73fa1ee9c764baa3371fa945446c

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencontextprotocol_sdk-0.2.1-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