Ollama MCP Bridge icon

Ollama MCP Bridge

Createdpatruff

Connects local LLMs (via Ollama) to Model Context Protocol (MCP) servers, allowing open-source models to use external tools.

About

The Ollama MCP Bridge enables local Large Language Models to utilize external tools and capabilities provided by Model Context Protocol (MCP) servers. By translating between the LLM's outputs and the MCP's JSON-RPC protocol, it allows any Ollama-compatible model to leverage functionalities like filesystem operations, web search, GitHub interactions, and more, effectively bringing the power of tools similar to Claude to locally hosted models.

Key Features

  • Multi-MCP support with dynamic tool routing
  • Detailed logging and error handling
  • Robust process management for Ollama
  • Automatic tool detection from user prompts
  • Structured output validation for tool calls
  • 750 GitHub stars

Use Cases

  • Using a local LLM to perform filesystem operations.
  • Enabling a local LLM to search the web and summarize findings.
  • Allowing a local LLM to interact with GitHub repositories.
Craft Better Prompts with AnyPrompt