Skip to main content
Glama
deXterbed

Ollama Web Search

by deXterbed

Ollama Web Search MCP Server

A stdio MCP server that exposes Ollama's hosted web search and web fetch APIs as tools any MCP client can call. Based on the Ollama web search docs.

Tools:

Tool

Args

Returns

web_search

query (string), max_results (int, default 5, max 10)

{ results: [{ title, url, content }] }

web_fetch

url (string)

{ title, content, links: [...] }

Prerequisites

The published package runs with uvx ollama-web-search, which downloads and runs it in an isolated environment; no clone or pip install step is needed.

Related MCP server: Jina Web Search MCP

Run it directly (smoke test)

export OLLAMA_API_KEY=your_api_key_here
uvx ollama-web-search

It will sit waiting for MCP messages on stdio. Wire it into a client instead of running it by hand.

To run from a local checkout instead: uv run ollama-web-search.

Client configuration

Set your key in the env block below.

Claude Desktop / Claude Code (mcpServers block):

{
  "mcpServers": {
    "Ollama Web Search": {
      "command": "uvx",
      "args": ["ollama-web-search"],
      "env": { "OLLAMA_API_KEY": "your_api_key_here" }
    }
  }
}

For Claude Code you can also add it from the CLI:

claude mcp add ollama-web-search \
  --env OLLAMA_API_KEY=your_api_key_here \
  -- uvx ollama-web-search

Zed (~/.config/zed/settings.json, under context_servers):

{
  "context_servers": {
    "Ollama Web Search": {
      "command": "uvx",
      "args": ["ollama-web-search"],
      "env": { "OLLAMA_API_KEY": "your_api_key_here" }
    }
  }
}

Cline:

{
  "mcpServers": {
    "Ollama Web Search": {
      "type": "stdio",
      "command": "uvx",
      "args": ["ollama-web-search"],
      "env": { "OLLAMA_API_KEY": "your_api_key_here" }
    }
  }
}

Codex (~/.codex/config.toml):

[mcp_servers.ollama_web_search]
command = "uvx"
args = ["ollama-web-search"]
env = { "OLLAMA_API_KEY" = "your_api_key_here" }
Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deXterbed/ollama-web-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server