MCP Retrieval

v0.1.10
io.github.Role1776/mcp-retrieval Checked 1 day ago Published 1 month ago

Local Go MCP server: DuckDuckGo/Bing web + image search, readability scraping to Markdown.

Values you need

VariableWhat it is
MCP_TRANSPORToptional stdio (client spawns the process) or http (streamable HTTP listener). Default: stdio
MCP_NAMEoptional Server name reported in the MCP initialize handshake. Default: mcp-retrieval
MCP_PATHoptional HTTP path the MCP endpoint is served on. Used only when MCP_TRANSPORT=http. Default: /mcp
SERVER_PORToptional TCP port to listen on. Used only when MCP_TRANSPORT=http. Default: 8080
SERVER_READ_TIMEOUToptional HTTP read timeout as a Go duration. Used only when MCP_TRANSPORT=http. Default: 60s
SERVER_WRITE_TIMEOUToptional HTTP write timeout as a Go duration. Used only when MCP_TRANSPORT=http. Default: 60s
LOG_MODEoptional local (text, debug) or prod (JSON, info). Logs go to stderr. Default: local
MAX_IDLE_CONNS_PER_HOSToptional Idle connections the outbound HTTP client keeps per host. Default: 100
MAX_QUERIESoptional Maximum queries or URLs accepted in one call. Default: 10
DEFAULT_RESULTSoptional Snippets returned per query when the call does not ask for a count. Default: 5
MAX_RESULTSoptional Upper bound for snippets per query. Default: 20
DEFAULT_IMAGESoptional Images returned per query when the call does not ask for a count. Default: 5
MAX_IMAGESoptional Upper bound for images per query. Default: 10
DEFAULT_TIMEOUT_MSoptional Per-call timeout in milliseconds when the call does not request one. Default: 5000
MIN_TIMEOUT_MSoptional Lowest timeout a call may request, in milliseconds. Default: 1000
MAX_TIMEOUT_MSoptional Highest timeout a call may request, in milliseconds. Default: 10000
DEFAULT_DOCUMENT_CHARSoptional Characters kept per scraped page when the call does not ask for a limit. Default: 20000
MAX_DOCUMENT_CHARSoptional Upper bound for characters kept per scraped page. Default: 20000
PROXY_SCHEMEoptional Outbound proxy scheme. Optional; set all five PROXY_* variables or none.
PROXY_HOSToptional Outbound proxy host. Enables per-request rotating proxy sessions.
PROXY_PORToptional Outbound proxy port. Required when PROXY_HOST is set.
PROXY_LOGINoptional secret Outbound proxy username. Required when PROXY_HOST is set.
PROXY_PASSWORDoptional secret Outbound proxy password. Required when PROXY_HOST is set.

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add mcp-retrieval -- docker run -i --rm ghcr.io/role1776/mcp-retrieval:0.1.10
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-retrieval": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/role1776/mcp-retrieval:0.1.10"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-retrieval": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/role1776/mcp-retrieval:0.1.10"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-retrieval": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/role1776/mcp-retrieval:0.1.10"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-retrieval]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/role1776/mcp-retrieval:0.1.10"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: web_scrape, web_search, web_search_images.
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json