Skip to main content
Glama
semidark

@semidark/mcp-litellm-searxng

by semidark

@semidark/mcp-litellm-searxng

MCP server for searching the web through a LiteLLM proxy's SearXNG-backed search endpoint.

Installation

No local installation required — the server is executed on-demand via npx:

{
  "mcp": {
    "azurelit-search": {
      "type": "local",
      "command": ["npx", "-y", "@semidark/mcp-litellm-searxng"],
      "environment": {
        "LITELLM_SEARCH_URL": "https://your-litellm-proxy/v1/search/searxng-search",
        "LITELLM_API_KEY": "sk-your-key",
        "LITELLM_TIMEOUT_MS": "30000"
      }
    }
  }
}

With OpenCode, you can usually reuse your existing secret file:

{
  "mcp": {
    "azurelit-search": {
      "type": "local",
      "command": ["npx", "-y", "@semidark/mcp-litellm-searxng"],
      "environment": {
        "LITELLM_SEARCH_URL": "https://litellm-proxy.example.com/v1/search/searxng-search",
        "LITELLM_API_KEY": "{file:~/.secrets/azure-lit.key}",
        "LITELLM_TIMEOUT_MS": "30000"
      }
    }
  }
}

Related MCP server: mcp-searxng

Development

Run the server locally:

npm start

Run the integration test harness:

LITELLM_SEARCH_URL="https://your-litellm-proxy/v1/search/searxng-search" \
LITELLM_API_KEY="sk-your-key" \
npm test

npm test is an integration test against a real LiteLLM endpoint. It does not mock the network and fails fast if LITELLM_SEARCH_URL or LITELLM_API_KEY is missing.

Environment Variables

Variable

Required

Default

Description

LITELLM_SEARCH_URL

Yes

Full URL to the LiteLLM search endpoint

LITELLM_API_KEY

Yes

Bearer token for API authentication

LITELLM_TIMEOUT_MS

No

30000

Request timeout in milliseconds

Tools

Search the web using the configured LiteLLM proxy search backend.

Parameters:

  • query (string, required): Search query

  • max_results (number, optional, default 10): Max results to return (1–50)

Returns:

  • text output formatted for chat clients

  • structuredContent.results as the raw LiteLLM result array

License

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform web searches and read URL content via a SearXNG instance.
    2
    15
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables local LLMs to search the web and fetch clean content from URLs without API keys, using SearxNG and Mozilla Readability.
    2
    35
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables web search and content scraping from multiple engines via a local SearXNG instance, allowing AI assistants to retrieve and extract web content.
    1

View all related MCP servers

Related MCP Connectors

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

  • The best web search for your AI Agent

  • Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.

View all MCP Connectors

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

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