Back to Home
AnotherRegularDude icon

ollama-web-search-mcp

Verified Safe

by AnotherRegularDude

Overview

Provides web search and web content fetching capabilities to AI assistants (LLMs) via the Model Context Protocol (MCP), using the Ollama web search API.

Installation

Run Command
bundle exec ruby bin/http_server

Environment Variables

  • OLLAMA_API_KEY
  • MCP_PROTOCOL_VERSION

Security Notes

The server employs strong typing (Dry::Struct, Dry::Types) and validation for all incoming parameters, reducing risks of basic injection attacks. External API calls to 'ollama.com' are made securely over HTTPS, with parameters serialized to JSON. The Ollama API key is correctly sourced from environment variables, preventing hardcoding. The layered architecture and explicit service object pattern (Resol::Service) promote robust error handling and separation of concerns, limiting internal vulnerabilities. While it proxies user input to an external API, the application's internal handling of this input is designed for safety.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassHigh
Avg Tokens30000
Stars0
Forks0
Last Update2026-01-06

Tags

Web SearchWeb FetchOllama APIModel Context ProtocolRuby