MCP server for AI search visibility (GEO): connect your agent
Connect a remote MCP server for AI search visibility to Claude Code, Cursor, Codex or VS Code, and let your agent ask ChatGPT, Gemini and Perplexity.
- mcp
- geo
- agents
Key takeaways
- PromptGale is a remote MCP server at https://promptgale.com/mcp (Streamable HTTP) that lets an agent ask AI answer engines a prompt from a chosen country and read the answer, its sources and the brands it names.
- Most clients sign in with OAuth 2.1 in the browser; clients that cannot do OAuth send an API key as X-API-Key or Authorization: Bearer.
- The server has 27 tools, two of them deprecated, including run_prompt, run_task, submit_batch and get_task; run_task and submit_batch take dryRun for a cost estimate.
- MCP calls use the same credits as the REST API: running an engine costs its price in credits, reading is free, failed tasks are refunded.
On this page
An MCP server for AI search visibility lets your agent ask AI answer engines a question and read what they say: the answer, the sources they cite and which brands they name. PromptGale is a remote MCP server at https://promptgale.com/mcp that does this for ChatGPT, Gemini, Perplexity, Google AI Overviews, Google AI Mode, Bing Copilot Search and Meta AI, from a country you choose. You add one URL to Claude Code, Cursor, Codex, VS Code or another MCP client, sign in with OAuth in the browser, and the agent can run prompts, batches and brand checks.
Which MCP server is "best" depends on what you need. This post explains what to look for, what PromptGale's server offers, and the exact config for the common clients.
What should an AI visibility MCP server do?
For GEO (generative engine optimization) work, an agent usually needs to:
- Ask a specific engine a specific prompt, from a specific market.
- Get back the answer as the app showed it, not a model's answer to an API call.
- See the sources the answer cited, and which brands it named and in what order.
- Run many prompts at once and come back for the results.
- Know what each call costs before it runs.
PromptGale runs fresh queries: each run_prompt call opens the engine in a real browser from the country you chose.
What does PromptGale's MCP server offer?
| What | Details |
|---|---|
| URL | https://promptgale.com/mcp |
| Transport | Streamable HTTP (stateless) |
| Auth | OAuth 2.1 with PKCE, discovered automatically; or an API key (pk_live_...) in X-API-Key or Authorization: Bearer |
| Scopes | mcp (run tasks, spend credits, read everything) and mcp:read (read only) |
| Engines | ChatGPT, Gemini, Perplexity, Google AI Overviews, Google AI Mode, Bing Copilot Search, Meta AI (current list from get_capabilities) |
| Tools | 27 (two of them deprecated), including run_prompt, run_task, submit_batch, get_task, submit_location_grid, get_credits and get_usage |
A few tools matter most for visibility work:
run_prompt: ask one engine and wait for the answer, sources and brand analysis. WithwaitSeconds: 0it queues the task and returns ataskIdright away.run_taskandsubmit_batch: the full REST payload, and batches of up to 10,000 tasks (prompts × engines). Both acceptdryRunfor a cost estimate only.get_task,get_batch,list_batch_items: read results later.submit_location_grid: one prompt from every point of a map grid (Growth plan and above, on the engines that support grids).whoami,get_capabilities,list_countries,get_credits,get_usage: your account, engines, prices, countries and your balance. Reading is free.
Three tools are marked destructive because they cancel queued work and release credits: clear_queue, cancel_task and cancel_batch. The full list is on the MCP server page and in the MCP docs.
How do I connect it to Claude Code?
From a terminal (Claude Code setup):
claude mcp add --transport http promptgale https://promptgale.com/mcpTo make it available in every project, add --scope user:
claude mcp add --transport http --scope user promptgale https://promptgale.com/mcpThen run /mcp in Claude Code, pick promptgale, choose Authenticate and approve in the browser.
How do I connect it to Cursor?
Put the server in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) (Cursor setup):
{
"mcpServers": {
"promptgale": {
"url": "https://promptgale.com/mcp"
}
}
}In Cursor Settings, MCP, the server shows "Needs login": click it and approve in the browser.
How do I connect it to Codex, Gemini CLI or VS Code?
Codex stops tool calls after 60 seconds by default and some answers take longer, so set the timeout to 300 seconds (Codex setup):
codex mcp add promptgale --url https://promptgale.com/mcp
codex mcp login promptgale# ~/.codex/config.toml
[mcp_servers.promptgale]
url = "https://promptgale.com/mcp"
tool_timeout_sec = 300Gemini CLI (Gemini CLI setup):
gemini mcp add --transport http --scope user promptgale https://promptgale.com/mcpThen run /mcp auth promptgale inside Gemini CLI. It loads MCP servers only in trusted folders, so trust the folder when it asks.
VS Code (.mcp.json in the workspace root; VS Code setup):
{
"mcpServers": {
"promptgale": {
"type": "http",
"url": "https://promptgale.com/mcp"
}
}
}Start the server from MCP: List Servers and choose Authenticate when VS Code offers it. Older setups use .vscode/mcp.json with a servers key instead of mcpServers.
Claude, ChatGPT, GitHub Copilot, Windsurf, Zed, Cline, Kiro, Goose, opencode, n8n, Zapier and other clients are covered in the docs, and as plain text in connect.txt. If a client only starts local (stdio) servers, run the remote server through mcp-remote (other clients):
{
"mcpServers": {
"promptgale": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://promptgale.com/mcp"]
}
}
}What if my client can't do OAuth?
Use an API key. Create one in the dashboard and send it as a header (API key setup):
claude mcp add --transport http promptgale https://promptgale.com/mcp \
--header "X-API-Key: pk_live_..."Unattended servers, cron jobs and some cloud agents need this. A key does not expire, so revoke it in the dashboard when you stop using it, and never commit it.
What can I ask my agent once it's connected?
Plain-language requests work, for example (from the MCP server page):
- "Ask ChatGPT in the US for the best CRM for a small agency and tell me which brands it names first."
- "Run these 20 prompts on ChatGPT and Gemini as a batch and list the sites they cite most."
- "Check whether our brand is mentioned when people in Germany ask for project management tools, and show me the sources."
A good first check after connecting: ask the agent to call whoami (account and credits) and then get_capabilities (engines, countries and prices). Neither costs credits.
What does it cost?
The MCP server uses the same credits as the REST API. An answer costs 1 to 2 credits depending on the engine (ChatGPT, Gemini and Perplexity are 1.5), and a US state or map point adds 1. Plans start at $19 a month for 2,000 credits, and tools that only read are free. Failed tasks are refunded. See pricing.
How does it compare with other options?
Other providers also offer MCP servers for search or AI-answer data, for example DataForSEO, SerpApi, Bright Data and Peec AI, each with its own scope (SEO data suites, search result APIs, scraping infrastructure, or a visibility dashboard), per their own pages read on 2026-11-30. Our dated, sourced comparisons are on the compare pages: DataForSEO, SerpApi, Bright Data.
How do I start?
There is no free plan. Create an account, verify your email, then start the trial or pick a plan (the current offer is on the pricing page). Add https://promptgale.com/mcp to your client and sign in. Setup for every client: MCP server.
Frequently asked questions
- Do I need an API key to use the MCP server?
- No. Most clients sign in with OAuth in the browser: you log in to PromptGale and click Approve. API keys are there for clients that cannot do OAuth.
- Can I give an agent read-only access?
- Yes. With the mcp:read OAuth scope an agent can read tasks, results, credits and usage, but cannot run tasks or spend credits. The mcp scope also runs and cancels work.
- Why does my client stop the tool call after a minute?
- Some clients time out MCP tool calls after about 60 seconds, and some answers take longer. Raise the client's MCP tool timeout to 300 seconds, or call run_prompt with waitSeconds and poll get_task.
- Is there a local (stdio) version?
- There is no package to install; the server is remote only. Clients that only start local stdio servers can bridge to it with mcp-remote (npx -y mcp-remote https://promptgale.com/mcp).