add-ollama-tool

Expose local Ollama models to a container agent via an MCP server.

85|23|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/DingyangLyu/MatClaw --skill add-ollama-tool-dingyanglyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-ollama-tool
Source: https://github.com/DingyangLyu/MatClaw/tree/main/.claude/skills/add-ollama-tool
Command: npx skills add https://github.com/DingyangLyu/MatClaw --skill add-ollama-tool-dingyanglyu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3.

What problem does it solve?

This skill enables local Ollama model inference for the container agent by exposing an MCP server so the container agent can offload tasks to local models for cheaper and faster inference.

Core Features & Use Cases

  • Exposes Ollama as an MCP-compatible toolset for the container agent.
  • Provides tools ollama_list_models and ollama_generate to inspect models and query a model locally.
  • Use Case: accelerate summarization, translation, or code tasks by running models locally without sending data to external services.

Quick Start

Enable the Ollama MCP server and verify the setup by listing models with ollama_list_models.

Frequently Asked Questions about add-ollama-tool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run local model inference inside a container agent?

You can run local model inference inside a container agent by enabling an MCP server that bridges local Ollama models to the agent, allowing it to offload tasks for faster and cheaper processing.

Can I use Ollama models with an MCP server for cheaper and faster inference?

Yes, you can use Ollama models with an MCP server to achieve cheaper and faster on-host inference, enabling local tasks such as general queries, translation, or summarization without sending data to external services.

What do I need to configure before querying local Ollama models through the container agent?

Before querying local Ollama models, you need Python3 installed, Ollama running on the host with at least one model installed, and you must apply skill changes via Phase 2 and restart MatClaw.

How do I list and generate responses from local models using the Ollama MCP toolset?

You list and generate responses from local models by using the provided ollama_list_models tool to inspect available models and the ollama_generate tool to locally query a model for your tasks.

What is the best way to accelerate code tasks without sending data to external services?

The best way to accelerate code tasks without external data transmission is to configure an MCP server bridging local Ollama models to your container agent, executing on-host model inference locally.

Why does the Ollama MCP server fail to list models after configuration?

The Ollama MCP server fails to list models if Ollama is not installed or running on the host, if no model is installed, or if the OLLAMA_HOST configuration is incorrect during Phase 2 setup before restarting MatClaw.