Open-source web search API and MCP server for LLMs, AI agents, and RAG. Free sources, self-hosted SearXNG, REST, CLI.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add searchforge --env GITHUB_TOKEN='<GITHUB_TOKEN>' --env BRAVE_SEARCH_API_KEY='<BRAVE_SEARCH_API_KEY>' -- docker run -i --rm -e GITHUB_TOKEN -e BRAVE_SEARCH_API_KEY ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0~/.codex/config.toml
[mcp_servers.searchforge]
command = "docker"
args = ["run", "-i", "--rm", "-e", "GITHUB_TOKEN", "-e", "BRAVE_SEARCH_API_KEY", "ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0"]
env = { GITHUB_TOKEN = "<GITHUB_TOKEN>", BRAVE_SEARCH_API_KEY = "<BRAVE_SEARCH_API_KEY>" }
# codex mcp add searchforge --env GITHUB_TOKEN='<GITHUB_TOKEN>' --env BRAVE_SEARCH_API_KEY='<BRAVE_SEARCH_API_KEY>' -- docker run -i --rm -e GITHUB_TOKEN -e BRAVE_SEARCH_API_KEY ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0~/.cursor/mcp.json
{
"mcpServers": {
"searchforge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"-e",
"BRAVE_SEARCH_API_KEY",
"ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"searchforge": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"-e",
"BRAVE_SEARCH_API_KEY",
"ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"searchforge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"-e",
"BRAVE_SEARCH_API_KEY",
"ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"searchforge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"-e",
"BRAVE_SEARCH_API_KEY",
"ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"searchforge": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_TOKEN",
"-e",
"BRAVE_SEARCH_API_KEY",
"ghcr.io/divyanshu-iitian/searchforge-mcp:0.2.0"
],
"env": {
"GITHUB_TOKEN": "<GITHUB_TOKEN>",
"BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>"
}
}
}
}Environment variables
GITHUB_TOKENBRAVE_SEARCH_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.