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

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "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. 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 URLs are fetched via the GitHub API; all others 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 URLs are fetched via the GitHub API; all others go through a fetch cascade: Firecrawl → Crawl4AI → raw HTTP. Returns clean markdown where possible. Content truncated to 8000 characters. Results cached for 24 hours. Blocked domains are refused.

search_and_summarizeA

Search, rerank, fetch top results, then synthesize a summary with citations using a local LLM (qwen3:14b). Returns a structured answer with source attribution. Falls back to raw fetched content if Ollama is unavailable. 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).

clear_cacheA

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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/TadMSTR/searxng-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server