@semidark/mcp-litellm-searxng
@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"
}
}
}
}Development
Run the server locally:
npm startRun the integration test harness:
LITELLM_SEARCH_URL="https://your-litellm-proxy/v1/search/searxng-search" \
LITELLM_API_KEY="sk-your-key" \
npm testnpm 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 |
| Yes | — | Full URL to the LiteLLM search endpoint |
| Yes | — | Bearer token for API authentication |
| No |
| Request timeout in milliseconds |
Tools
web_search
Search the web using the configured LiteLLM proxy search backend.
Parameters:
query(string, required): Search querymax_results(number, optional, default 10): Max results to return (1–50)
Returns:
text output formatted for chat clients
structuredContent.resultsas the raw LiteLLM result array
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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