0n3
MCP servers · Ollama · MCP server + skill

Connect Claude Code to Ollama

One line gives Claude Code your Ollama account as tools: 8 endpoints, generate text, chat completion, create embedding, called with your own connection. No key in the prompt, a receipt for every call, revoke Claude Code's access alone any time.

Get the line for Claude CodeConnect Ollama first

Three steps

  1. Create a free 0n3 account and connect Ollama. Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Claude Code. The terminal agent. One command, then every connection you hold is a tool in your shell. The skill file teaches it how 0n3 works.
  3. Ask Claude Code: whoami. Then: "Generate in Ollama".
Install (user scope — every project)
claude mcp add --transport http --scope user 0n3 https://0n3.app/mcp --header "Authorization: Bearer <your 0n token>"

The line above carries a placeholder; 0n3.app/install mints a real key named for Claude Code and fills it in.

What Claude Code can then do in Ollama

Generate text · Generate text completions with local models (Llama, Mistral, etc.)1
GeneratePOST /api/generate
Chat completion · Multi-turn chat with local models1
Chat completionPOST /api/chat
Create embedding · Create text embeddings locally1
Create an embeddingPOST /api/embed
Models · List, pull, inspect, and delete local models4
List modelsGET /api/tags
Show modelPOST /api/show
Pull modelPOST /api/pull
Delete a modelDELETE /api/delete
More · Everything else this app exposes.1
List runningGET /api/ps

Ollama in other AI clients

Claude (desktop & claude.ai) + OllamaconnectorChatGPT + Ollamaconnector · GPT actionCodex CLI + OllamaMCP serverGemini CLI + OllamaMCP serverCursor + OllamaMCP serverVS Code (Copilot) + OllamaMCP serverWindsurf + OllamaMCP server

Claude Code with other apps

Hostinger363 endpointsTelegram132 endpointsPipedrive95 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointsFigma32 endpointsCloudConvert32 endpointseBay25 endpointsQuickBooks21 endpointsCloudflare21 endpoints