GeoGen MCP Server
The GeoGen MCP (Model Context Protocol) server lets AI assistants like Claude, Cursor, Windsurf, GitHub Copilot, and OpenAI agents query your LLM visibility data, manage entities, and analyze trends via natural language.With the MCP server, you can ask your AI assistant questions like “What’s my visibility trend over the last 30 days?” or “Which domains are citing my brand?” and get answers directly from your GeoGen data.
Prerequisites
- A GeoGen API key — go to Settings → Workspaces → Your Workspace → API Keys to create one
- Node.js v18 or higher — download from nodejs.org (required for Claude Desktop, Claude Code, Cursor, and Windsurf)
Setup
Choose your AI assistant below and follow the step-by-step instructions.- Claude Desktop
- Claude Code
- Cursor
- Windsurf
- GitHub Copilot
- OpenAI Agents
Claude Desktop stores its configuration in a JSON file. We need to find it, open it, and add the GeoGen MCP server config to it.If the file already has content (which is common), you need to merge the GeoGen config into it. Your file probably looks something like this:Add a comma after the last existing setting, then add the If you already have other MCP servers configured, add GeoGen inside the existing
Step 1: Open the config file
- macOS
- Windows
The config file is in a hidden folder that doesn’t show up in Finder by default. To get there:
- Open Finder
- Press Cmd + Shift + G — this opens a “Go to Folder” dialog
- Paste this path and press Enter:
- Find and open
claude_desktop_config.jsonin a text editor (right-click > Open With > TextEdit, or any code editor)
If the file doesn’t exist yet, create a new file called
claude_desktop_config.json in that folder.Step 2: Add the GeoGen config
If the file is empty or doesn’t exist yet, paste this entire block and replaceyour-api-key-here with your actual GeoGen API key:mcpServers block before the final closing brace:mcpServers block with a comma:Step 3: Replace the API key
Replaceyour-api-key-here with your actual GeoGen API key (from Settings > API Keys in the GeoGen dashboard). Keep the quotes around it.Step 4: Save and restart
- Save the file
- Fully quit Claude Desktop (not just close the window)
- Reopen Claude Desktop
- Look for the MCP plug icon (🔌) in the chat input area — click it to confirm GeoGen is listed and connected
Available Tools
Once configured, your AI assistant has access to the following tools:Read Operations
| Tool | Description |
|---|---|
get_entities | List all tracked websites/entities |
get_workspace | Workspace usage, limits, and credit balance |
get_workspace_members | List team members |
get_workspace_tags | List all tags |
get_models | Available LLM models |
get_entity_prompts | Prompts with visibility and sentiment stats |
get_tracking_status | Mention check status: last completed, next scheduled, processing state |
get_responses | LLM responses with mention status |
get_response_details | Detailed response data including mentions, citations, and fanouts |
get_citations | Top cited domains for an entity |
get_citation_details | Detailed URLs for a cited domain |
get_competitors | Competitor visibility leaderboard |
get_citations_trend | Daily citation trend for top cited domains |
get_visibility_trend | Visibility trend over time |
get_sentiment_trend | Sentiment trend over time |
get_query_fanouts | Web search queries LLMs perform |
get_entity_actions | AI-generated actionable recommendations and tasks |
Write Operations
| Tool | Description |
|---|---|
create_entity | Create a new tracked entity (consumes credits) |
add_prompts | Add single or bulk prompts to an entity |
delete_prompt | Delete a prompt |
dismiss_actionable | Dismiss an actionable recommendation |
update_task_status | Move a task through the kanban workflow |
Example Queries
Once connected, try asking your AI assistant:Visibility Analysis
“What’s the visibility trend for my website over the last 30 days?”
Citation Insights
“Which domains are LLMs citing when they talk about my brand?”
Competitor Intel
“Show me the top competitors for my website”
Search Patterns
“What search queries are LLMs running about my entity?”
Action Items
“What actionable recommendations do I have for my website?”
- “List all my tracked entities”
- “Add a new tracking prompt: ‘What is the best project management tool?’”
- “Give me a full SEO report comparing my entity against competitors”
- “What’s the sentiment trend for my brand this month?”
Environment Variables
| Variable | Required | Description |
|---|---|---|
GEOGEN_API_KEY | Yes | Your GeoGen workspace API key |
GEOGEN_BASE_URL | Yes | GeoGen API URL — always https://api.geogen.io |
Troubleshooting
Config file not found / folder is hidden
Config file not found / folder is hidden
Claude Desktop shows an error after editing the config
Claude Desktop shows an error after editing the config
The most common cause is a JSON formatting error — usually a missing or extra comma. JSON is strict about commas: every item needs a comma after it except the last item before a closing
} or ]. Try pasting your config into jsonlint.com to check for syntax errors.Server not showing up in my client
Server not showing up in my client
- Make sure you saved the config file (not just edited it)
- Fully restart your client — closing the window isn’t always enough (especially Claude Desktop)
- Confirm Node.js v18+ is installed: open a terminal and run
node -v
'npx: command not found' error
'npx: command not found' error
npx comes bundled with Node.js. Install or update Node.js from nodejs.org (v18 or higher). If you use a version manager like nvm or fnm, make sure the right version is active in your shell.Authentication or 401 errors
Authentication or 401 errors
- Verify your API key is correct — go to Settings → Workspaces → Your Workspace → API Keys in the GeoGen dashboard and copy it again
- Make sure the key is inside quotes in the config file:
"your-key-here"notyour-key-here - Check that you didn’t accidentally include extra spaces around the key
Tools appear but return no data
Tools appear but return no data
Make sure you have at least one tracked entity in your GeoGen workspace. Most tools need an entity to return results.
Claude Code: environment variables not working
Claude Code: environment variables not working
Do not use
export in your shell — the MCP server runs in its own separate process. Pass variables with the -e flag:
