Ollama Web Search
This server provides tools to search the web and fetch web page content via Ollama's APIs.
web_search: Search the web with a query string. Accepts an optional
max_resultsparameter (default 5, max 10). Returns a list of results, each containing a title, URL, and content.web_fetch: Fetch the readable content of a given URL (must include http:// or https://). Returns the page title, main content, and a list of links found on the page.
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(providesuvxanduv tool install)An Ollama API key — create one at https://ollama.com/settings/keys (free account).
Related MCP server: MCP Search & Fetch
Install
For use as an MCP server in editors, install once so the binary is available
immediately on startup (avoids timeout issues caused by uvx resolving
packages on every invocation):
uv tool install ollama-web-search
# or from a local checkout:
# uv tool install .For a quick smoke test without installing, you can use uvx (slower on first
run because it resolves packages each time):
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.
Client configuration
Set your key in the env block below. Use the installed binary (ollama-web-search)
rather than uvx to avoid startup timeouts.
Claude Desktop / Claude Code (mcpServers block):
{
"mcpServers": {
"Ollama Web Search": {
"command": "ollama-web-search",
"args": [],
"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 \
-- ollama-web-searchZed (~/.config/zed/settings.json, under context_servers):
{
"context_servers": {
"Ollama Web Search": {
"command": "ollama-web-search",
"args": [],
"env": { "OLLAMA_API_KEY": "your_api_key_here" }
}
}
}Cline:
{
"mcpServers": {
"Ollama Web Search": {
"type": "stdio",
"command": "ollama-web-search",
"args": [],
"env": { "OLLAMA_API_KEY": "your_api_key_here" }
}
}
}Codex (~/.codex/config.toml):
[mcp_servers.ollama_web_search]
command = "ollama-web-search"
args = []
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
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables web search and site-specific search capabilities through the Deepsearch model. Provides unified access to broad web retrieval and targeted site search functionality within the MCP ecosystem.Last updated2235Apache 2.0
- Alicense-qualityBmaintenanceProvides web search and page fetching capabilities using Ollama's API.Last updatedMIT
- Alicense-qualityDmaintenanceEnables web search via DuckDuckGo and web content fetching through the Model Context Protocol, allowing AI assistants to search and retrieve web page content.Last updated17MIT

Scout MCP Serverofficial
Alicense-qualityCmaintenanceEnables web search, scraping, extraction, and crawling through an MCP interface, allowing coding agents to access real-time web data.Last updated1MIT
Related MCP Connectors
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
Give your agent web search and authoritative datasets: S&P Global, FRED, OECD, SimilarWeb & more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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