Skip to content

MCP server

A remote MCP server for AI answer engines

PromptGale is a remote MCP server at https://promptgale.com/mcp. Add that URL to Claude Code, Cursor, Codex, ChatGPT, n8n or any MCP client, approve the OAuth sign-in in your browser, and your agent can ask ChatGPT, Gemini, and Perplexity and more from the country you pick, then read the answer, its sources and the brand analysis as tool results.

Updated

How do I add PromptGale to my MCP client?

One line or one config entry per client. The transport is Streamable HTTP and the server URL is https://promptgale.com/mcp. After adding it, start the sign-in your client offers (in Claude Code, run /mcp) and approve in the browser.

Claude Code
# Terminal
claude mcp add --transport http promptgale https://promptgale.com/mcp

# Available in every project (optional)
claude mcp add --transport http --scope user promptgale https://promptgale.com/mcp
Cursor
{
  "mcpServers": {
    "promptgale": {
      "url": "https://promptgale.com/mcp"
    }
  }
}
Codex
# Terminal
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 = 300
Gemini CLI
# Terminal
gemini mcp add --transport http --scope user promptgale https://promptgale.com/mcp

# In Gemini CLI
/mcp auth promptgale

# ~/.gemini/settings.json (same thing by hand)
{
  "mcpServers": {
    "promptgale": {
      "httpUrl": "https://promptgale.com/mcp"
    }
  }
}
VS Code
# .mcp.json
{
  "mcpServers": {
    "promptgale": {
      "type": "http",
      "url": "https://promptgale.com/mcp"
    }
  }
}

# Copilot CLI
copilot mcp add --transport http promptgale https://promptgale.com/mcp

# ~/.copilot/mcp-config.json
{
  "mcpServers": {
    "promptgale": {
      "type": "http",
      "url": "https://promptgale.com/mcp",
      "tools": [
        "*"
      ]
    }
  }
}
Claude
https://promptgale.com/mcp
ChatGPT
https://promptgale.com/mcp
n8n
https://promptgale.com/mcp
OpenClaw
openclaw mcp set promptgale '{"url":"https://promptgale.com/mcp","transport":"streamable-http","auth":"oauth","requestTimeoutMs":300000}'
openclaw mcp login promptgale
Hermes Agent
# Terminal
hermes mcp add --url https://promptgale.com/mcp --auth oauth promptgale
hermes mcp login promptgale

# ~/.hermes/config.yaml (same thing by hand)
mcp_servers:
  promptgale:
    url: https://promptgale.com/mcp
    auth: oauth
    timeout: 300
Other clients
# Remote server config
{
  "mcpServers": {
    "promptgale": {
      "type": "http",
      "url": "https://promptgale.com/mcp"
    }
  }
}

# stdio bridge (mcp-remote)
{
  "mcpServers": {
    "promptgale": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://promptgale.com/mcp"
      ]
    }
  }
}
API key
# Claude Code
claude mcp add --transport http promptgale https://promptgale.com/mcp \
  --header "X-API-Key: pk_live_..."

# JSON config
{
  "mcpServers": {
    "promptgale": {
      "type": "http",
      "url": "https://promptgale.com/mcp",
      "headers": {
        "X-API-Key": "pk_live_..."
      }
    }
  }
}

# GitHub Copilot cloud agent (repository MCP settings, secret COPILOT_MCP_PROMPTGALE_KEY)
{
  "mcpServers": {
    "promptgale": {
      "type": "http",
      "url": "https://promptgale.com/mcp",
      "headers": {
        "X-API-Key": "$COPILOT_MCP_PROMPTGALE_KEY"
      },
      "tools": [
        "*"
      ]
    }
  }
}

# SDKs and model APIs (remote MCP tool)
server_url: https://promptgale.com/mcp
Authorization: Bearer pk_live_...

Step-by-step pages: Claude Code, Cursor, Codex, Gemini CLI, VS Code, GitHub Copilot, Claude, ChatGPT, n8n, other clients and API key. Every client is in Connect an agent, and the same setup is in plain text at /connect.txt.

Which tools does the MCP server have?

27 tools, listed for the engines available right now. Tools that run work cost that engine's credits; reading results, credits, countries and stats is free.

MCP tools
ToolWhat it doesChanges something
whoamiaccount, user, connection (OAuth client and scopes or API key), credits and linksNo
get_capabilitiesengines available now with price, inputs, location support and countriesNo
list_countriescountries served, optionally for one engineNo
list_statesUS states for the state optionNo
run_promptask one AI answer engine and wait for the answer, sources and brand analysis (waitSeconds 0: queue and get a taskId at once)Yes
submit_promptqueue a prompt and get a taskId at once (deprecated: run_prompt with waitSeconds 0)Yes
run_taskany engine with the full REST payload, waits (dryRun: cost estimate only)Yes
submit_taskany engine with the full REST payload, returns a taskId (deprecated: run_task with waitSeconds 0)Yes
get_taskstatus and result of a task; waitSeconds polls until it finishesNo
list_taskstasks with engine and status filters and paginationNo
submit_batchup to 10,000 tasks: prompts x engines or items (dryRun: cost estimate only)Yes
get_batchbatch progress and creditsNo
list_batch_itemsbatch items, optionally with resultsNo
list_batchesrecent batchesNo
submit_location_gridone prompt or query from every point of a map gridYes
get_location_gridgrid points with status and short answersNo
list_location_gridsrecent gridsNo
get_creditscredit balanceNo
get_usagetasks and credits per day and engineNo
get_statscounts, success rate and top errors for the last hoursNo
get_queue_statusqueued and running tasks, concurrency limitNo
clear_queuecancel every queued task and release their credits (destructive)Yes
cancel_taskcancel one queued task and release its credits (destructive)Yes
cancel_batchcancel the queued work of one batch and release its credits (destructive)Yes
get_capacityengine status and loadNo
list_api_keysREST API key names and prefixes (keys are created and revoked in the dashboard)No
resolve_google_redirectthe page a Google redirect link leads toNo

How does the OAuth sign-in work?

  1. Your client discovers the server from /.well-known/oauth-protected-resource/mcp and the authorization server from /.well-known/oauth-authorization-server.
  2. It registers itself, with a Client ID Metadata Document or Dynamic Client Registration, and uses PKCE (S256).
  3. Your browser opens a PromptGale page: log in and click Approve. The client stores its tokens.

Scope mcp:read reads; scope mcp also creates and cancels work. Approved agents are listed in the dashboard under Connected agents, where you can revoke them. Clients without OAuth send an API key as X-API-Key or Authorization: Bearer instead: see API key.

What can I ask my agent to do?

  • "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."

run_prompt asks one engine and waits for the answer (waitSeconds: 0 queues it and returns a task id). An answer costs 1 to 2 credits depending on the engine. If your client stops tool calls after about a minute, raise its tool timeout to 300 seconds (Codex: tool_timeout_sec = 300) or poll get_task.

Questions, answered

Is PromptGale a remote or a local MCP server?

Remote. Add https://promptgale.com/mcp with Streamable HTTP transport. Clients that only start local stdio servers can reach it through the mcp-remote bridge, which opens the browser for the sign-in.

Do I need an API key for the MCP server?

No. It signs in with OAuth in the browser, so there is no key to paste. An API key also works, for clients and servers that cannot do OAuth.

How do I add PromptGale to Claude Code?

Run claude mcp add --transport http promptgale https://promptgale.com/mcp, then run /mcp in Claude Code, pick promptgale and choose Authenticate.

What does an MCP tool call cost?

Running a prompt costs that engine's price, 1 to 2 credits per answer. Reading tasks, credits, countries, usage and stats is free.

Run your first prompt in a minute.