Requires the runtime declared in the upstream repo — check the README before running. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register contextplus.
Run the command below in your terminal — Claude Code persists it for you.claude mcp add contextplus --env OLLAMA_EMBED_MODEL=nomic-embed-text --env OLLAMA_CHAT_MODEL=gemma2:27b --env OLLAMA_API_KEY=YOUR_OLLAMA_API_KEY -- bunx contextplus