C

Citation Intelligence

by AutomateLab-tech · io.github.AutomateLab-tech/citation-intelligence

AutomateLab Citation Intelligence reports which URLs ChatGPT, Claude, Perplexity, Gemini, Bing and Google AI Overviews cite. Self-hosted with your own engine API keys. Product and documentation: https://automatelab.tech/products/mcp/citation-intelligence/

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-automatelab-tech-citation-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/citation-intelligence"
      ],
      "env": {
        "SERPAPI_KEY": "<VALUE>",
        "BING_API_KEY": "<VALUE>",
        "BRAVE_API_KEY": "<VALUE>",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CITATION_LOG_LEVEL": "<VALUE>",
        "PERPLEXITY_API_KEY": "<VALUE>",
        "CITATION_CONFIG_DIR": "<VALUE>",
        "CITATION_CACHE_TTL_DAYS": "<VALUE>",
        "CITATION_AI_OVERVIEW_TTL_DAYS": "<VALUE>",
        "CITATION_MAX_CONCURRENT_PER_HOST": "<VALUE>",
        "CITATION_MIN_INTERVAL_MS_PER_HOST": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-automatelab-tech-citation-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/citation-intelligence"
      ],
      "env": {
        "SERPAPI_KEY": "<VALUE>",
        "BING_API_KEY": "<VALUE>",
        "BRAVE_API_KEY": "<VALUE>",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CITATION_LOG_LEVEL": "<VALUE>",
        "PERPLEXITY_API_KEY": "<VALUE>",
        "CITATION_CONFIG_DIR": "<VALUE>",
        "CITATION_CACHE_TTL_DAYS": "<VALUE>",
        "CITATION_AI_OVERVIEW_TTL_DAYS": "<VALUE>",
        "CITATION_MAX_CONCURRENT_PER_HOST": "<VALUE>",
        "CITATION_MIN_INTERVAL_MS_PER_HOST": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-automatelab-tech-citation-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/citation-intelligence"
      ],
      "env": {
        "SERPAPI_KEY": "<VALUE>",
        "BING_API_KEY": "<VALUE>",
        "BRAVE_API_KEY": "<VALUE>",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CITATION_LOG_LEVEL": "<VALUE>",
        "PERPLEXITY_API_KEY": "<VALUE>",
        "CITATION_CONFIG_DIR": "<VALUE>",
        "CITATION_CACHE_TTL_DAYS": "<VALUE>",
        "CITATION_AI_OVERVIEW_TTL_DAYS": "<VALUE>",
        "CITATION_MAX_CONCURRENT_PER_HOST": "<VALUE>",
        "CITATION_MIN_INTERVAL_MS_PER_HOST": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-automatelab-tech-citation-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/citation-intelligence"
      ],
      "env": {
        "SERPAPI_KEY": "<VALUE>",
        "BING_API_KEY": "<VALUE>",
        "BRAVE_API_KEY": "<VALUE>",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CITATION_LOG_LEVEL": "<VALUE>",
        "PERPLEXITY_API_KEY": "<VALUE>",
        "CITATION_CONFIG_DIR": "<VALUE>",
        "CITATION_CACHE_TTL_DAYS": "<VALUE>",
        "CITATION_AI_OVERVIEW_TTL_DAYS": "<VALUE>",
        "CITATION_MAX_CONCURRENT_PER_HOST": "<VALUE>",
        "CITATION_MIN_INTERVAL_MS_PER_HOST": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-automatelab-tech-citation-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/citation-intelligence"
      ],
      "env": {
        "SERPAPI_KEY": "<VALUE>",
        "BING_API_KEY": "<VALUE>",
        "BRAVE_API_KEY": "<VALUE>",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CITATION_LOG_LEVEL": "<VALUE>",
        "PERPLEXITY_API_KEY": "<VALUE>",
        "CITATION_CONFIG_DIR": "<VALUE>",
        "CITATION_CACHE_TTL_DAYS": "<VALUE>",
        "CITATION_AI_OVERVIEW_TTL_DAYS": "<VALUE>",
        "CITATION_MAX_CONCURRENT_PER_HOST": "<VALUE>",
        "CITATION_MIN_INTERVAL_MS_PER_HOST": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-automatelab-tech-citation-intelligence": {
      "command": "npx",
      "args": [
        "-y",
        "@automatelab/citation-intelligence"
      ],
      "env": {
        "SERPAPI_KEY": "<VALUE>",
        "BING_API_KEY": "<VALUE>",
        "BRAVE_API_KEY": "<VALUE>",
        "GEMINI_API_KEY": "<VALUE>",
        "OPENAI_API_KEY": "<VALUE>",
        "ANTHROPIC_API_KEY": "<VALUE>",
        "CITATION_LOG_LEVEL": "<VALUE>",
        "PERPLEXITY_API_KEY": "<VALUE>",
        "CITATION_CONFIG_DIR": "<VALUE>",
        "CITATION_CACHE_TTL_DAYS": "<VALUE>",
        "CITATION_AI_OVERVIEW_TTL_DAYS": "<VALUE>",
        "CITATION_MAX_CONCURRENT_PER_HOST": "<VALUE>",
        "CITATION_MIN_INTERVAL_MS_PER_HOST": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
SERPAPI_KEY No SerpAPI key for Google AI Overview + Google AI Mode. 100 free lookups/month at serpapi.com.
BING_API_KEY No Bing Web Search API key for the bing_serp web_rank engine.
BRAVE_API_KEY No Brave Search API key for the brave_serp web_rank engine. 2000 free queries/month.
GEMINI_API_KEY No Google Gemini API key for the gemini api_proxy engine. Free tier available.
OPENAI_API_KEY No OpenAI API key for the openai api_proxy engine (gpt-4o-search-preview). Paid only.
ANTHROPIC_API_KEY No Anthropic API key for the claude api_proxy engine. Paid only.
CITATION_LOG_LEVEL No Log verbosity. Default: info. Logs go to stderr; stdout is reserved for JSON-RPC.
PERPLEXITY_API_KEY No Perplexity Sonar API key (consumer_scrape engine). Free tier available at perplexity.ai.
CITATION_CONFIG_DIR No Override the config + cache directory. Default: ~/.config/citation-intelligence.
CITATION_CACHE_TTL_DAYS No Cache TTL in days for check_citations entries. Default: 7.
CITATION_AI_OVERVIEW_TTL_DAYS No Cache TTL in days for ai_overview entries. Default: 1.
CITATION_MAX_CONCURRENT_PER_HOST No Max concurrent fetches per host. Default: 4.
CITATION_MIN_INTERVAL_MS_PER_HOST No Min ms between fetches per host (rate limit). Default: 0.

Similar servers