🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ask-llm/ollama-mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ask-llm/ollama-mcp

MCP server for local Ollama LLM integration - for Claude IDE and other IDEs

latest
Source
npmnpm
Version
0.5.5
Version published
Weekly downloads
243
8.48%
Maintainers
1
Weekly downloads
 
Created
Source

Ask Ollama MCP

npm version npm downloads License: MIT

MCP server for local Ollama LLMs — no API keys, fully private

An MCP server for AI-to-AI collaboration via local Ollama models. Works with Claude Code, Claude Desktop, Cursor, Warp, Copilot, and 40+ other MCP clients. Run code reviews and analysis entirely locally — no data leaves your machine, no API keys needed, zero cost.

Part of the Ask LLM monorepo.

Quick Start

Claude Code

claude mcp add ollama -- npx -y @ask-llm/ollama-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ollama": {
      "command": "npx",
      "args": ["-y", "@ask-llm/ollama-mcp"]
    }
  }
}

Any MCP Client

{
  "command": "npx",
  "args": ["-y", "@ask-llm/ollama-mcp"]
}

Prerequisites

  • Node.js v20.0.0 or higher
  • Ollama installed and running locally
  • A model pulled: ollama pull qwen3.6:27b

Tools

ToolPurpose
ask-ollamaSend prompts to local Ollama via HTTP. Defaults to qwen3.6:27b
pingLists locally available Ollama models via /api/tags

Models

ModelUse Case
qwen3.6:27bDefault — Qwen's flagship-level local coding model (~17 GB)

Override with ASK_OLLAMA_MODEL. Ollama is local, so there's no automatic fallback — you pull the model you want, and a missing model returns a clear ollama pull <model> error.

Configuration

Set OLLAMA_HOST to customize the Ollama server address (default: http://localhost:11434).

Documentation

Full docs at lykhoyda.github.io/ask-llm

License

MIT

Keywords

mcp

FAQs

Package last updated on 24 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts