Ollama Web Search
Provides tools to search the web and fetch web pages using Ollama's hosted web search and web fetch APIs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ollama Web Searchsearch the web for MCP server examples"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
|
|
|
|
|
|
Prerequisites
uv(providesuvx, handles Python + dependencies)An Ollama API key — create one at https://ollama.com/settings/keys (free account).
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: MCP Search & Fetch
Run it directly (smoke test)
export OLLAMA_API_KEY=your_api_key_here
uvx ollama-web-searchIt 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-searchZed (~/.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" }Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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