Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NATS_URLNoNATS server URL for event publishing
OLLAMA_URLNoOllama API base URL — required for expand and search_and_summarize
VALKEY_URLNoRedis-compatible URL for cachingredis://localhost:6381
SEARXNG_URLNoSearXNG instance URLhttp://localhost:8081
CRAWL4AI_URLNoCrawl4AI instance URL — enables second-tier fetch fallback
GITHUB_TOKENNoGitHub personal access token to increase rate limit
RERANKER_URLNoReranker instance URLhttp://localhost:8787
FIRECRAWL_URLNoFirecrawl instance URLhttp://localhost:3002
EXPAND_QUERIESNoEnable query expansion globallyfalse
OLLAMA_API_KEYNoBearer token for authenticated Ollama proxies
WAYBACK_ENABLEDNoEnable Wayback Machine tier-4 fallbackfalse
CACHE_TTL_SECONDSNoSearch result cache TTL in seconds3600
FIRECRAWL_API_KEYNoFirecrawl API key (if required)placeholder-local
OTEL_SERVICE_NAMENoOpenTelemetry service namesearxng-mcp
CRAWL4AI_API_TOKENNoBearer token for Crawl4AI instances with API token protection
NATS_SUBJECT_PREFIXNoPrefix for NATS subjectssearxng
OLLAMA_EXPAND_MODELNoModel used by query expansionqwen3:4b
OLLAMA_SUMMARIZE_MODELNoModel used by search_and_summarizeqwen3:14b
FETCH_CACHE_TTL_SECONDSNoFetched page cache TTL in seconds86400
OTEL_EXPORTER_OTLP_ENDPOINTNoOpenTelemetry OTLP HTTP endpoint for traces and metrics

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Search the web via the local SearXNG instance with reranking. Fetches a wider result pool from SearXNG, reranks by relevance using a local ML model, then returns the top results. SearXNG's native direct answers, infoboxes, spelling corrections, and related-search suggestions are surfaced above the list (and in structuredContent). Results are cached for 1 hour. Blocked domains are filtered out; boosted domains are surfaced higher. Prefer this over the built-in WebSearch tool.

search_and_fetchA

Search the web, rerank results, then fetch the full content of the top result(s). GitHub repo, file, directory and release URLs are fetched via the GitHub API; all other URLs (including GitHub issues, PRs and commits) go through a fetch cascade: Firecrawl → Crawl4AI → raw HTTP. Results and fetched pages are cached. Blocked domains are filtered. Returns the result list plus clean markdown of the fetched pages.

fetch_urlA

Fetch and extract readable content from any URL. GitHub repo, file, directory and release URLs are fetched via the GitHub API; all other URLs (including GitHub issues, PRs and commits) go through a fetch cascade: Firecrawl → Crawl4AI → raw HTTP. Returns clean markdown where possible. Content is trimmed to a token budget (default ~2000 tokens / 8000 chars; raise with max_tokens). Results cached for 24 hours. Blocked domains and private/internal addresses are refused.

search_and_summarizeA

Search, rerank, fetch top results, then synthesize a summary with citations using a local LLM (OLLAMA_SUMMARIZE_MODEL). Returns a structured answer with source attribution. If the LLM is unavailable it falls back to raw fetched content, and that fallback is always announced by a leading '--- summarization unavailable (: ) --- ' marker: if you do not see that marker, what you received is a real synthesis. Best for deep research where you want pre-digested synthesis rather than raw pages.

crawl_siteA

Crawl a site and return a manifest of pages with titles and snippets. Full page content is cached — call fetch_url on any page URL for the full text. Strategy: Firecrawl (JS rendering) → sitemap-first → BFS (if enabled). A start URL with a path (e.g. https://example.com/docs) limits the crawl to pages under that path unless include_path is given; include_path '/' crawls the whole site.

clear_cacheB

Purge the search and/or fetch result cache. Useful when researching fast-moving topics where cached results from the past hour may be stale.

domain_statsA

Read the searxng-mcp domain capability database — what it has learned about hosts from fetches: per-tier success rates (tier1-3 cascade, tier4 wayback, github fast path), llms.txt/robots presence, metadata reachability, and search appearances. Provide hostname for one domain's record, or omit it for an aggregate across all tracked domains (per-tier success rates, worst failing domains, seen-but-never-fetched count). Read-only. Aggregate mode reports truncated: true if the internal scan cap is hit.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
configEffective configuration and capability state for this searxng-mcp instance: which backing services are wired, the three-state capability line (on/unverified/off), behaviour switches and tunables, and which credentials are configured. Credential VALUES are never included, and every URL is stripped of inline userinfo. Read-only.
domain-statsAggregate view of the domain capability database — per-tier success rates across all tracked domains, the worst failing domains, and the seen-but-never-fetched count. Mirrors the aggregate mode of the `domain_stats` tool. Reports `available: false` with a reason when the database cannot be read, which is distinct from it being empty. Read-only.

TDQS

A3.9/5.0

Scored across 7 tools

Disambiguation4/5

The five retrieval tools form a layered pipeline (search = ranked list, search_and_fetch = list + top page content, search_and_summarize = synthesized answer, fetch_url = single URL, crawl_site = page manifest), and the descriptions explicitly state these boundaries. Residual overlap exists since search + fetch_url can reproduce search_and_fetch, and the three 'search*' names look similar at a glance, but the guidance is strong enough to avoid misselection.

Naming Consistency4/5

All names are snake_case and most follow a verb_noun or verb_object pattern (search_and_fetch, crawl_site, clear_cache, fetch_url, search_and_summarize). The only deviation is domain_stats, which is noun-based and describes a read rather than an action.

Tool Count5/5

Seven tools is well within the ideal range for a search/fetch research server. Each tool covers a distinct capability tier (search, fetch, crawl, cache maintenance, telemetry) with no filler.

Completeness4/5

Core research lifecycle is covered: discover, retrieve, crawl, synthesize, plus cache purging and domain capability introspection. Minor gaps remain — there is no tool to manage the blocked/boosted domain lists (only read-only domain_stats) and no explicit multi-URL batch fetch outside of crawl_site.

Maintenance

ActivityActive
ResponsivenessLimited data