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

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencontextprotocol_sdk-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 3c4be3daa92fc39f998a4e76a9152dce7f3a432f6ee2c86ed6bdcbbbad86b7de
MD5 57988a6d681de7a6cca4cdcf7fbc9be7
BLAKE2b-256 caf53cda889e188ae03a29a835a856132a6fff506a08d31ce49f120626cbb424

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for opencontextprotocol_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a5863b67bee1338df15d8901235f525431fec7bf058805938a3261e518f1704
MD5 6fd5d993c1398664cdc2b93c59f596c0
BLAKE2b-256 25cdaf9883560d15f410e999d48a0fcf96e4013b87e22c34878b49fd9dc28ceb

See more details on using hashes here.

Provenance

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