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.
# 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{
"mcpServers": {
"promptgale": {
"url": "https://promptgale.com/mcp"
}
}
}# 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# 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"
}
}
}# .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": [
"*"
]
}
}
}https://promptgale.com/mcphttps://promptgale.com/mcphttps://promptgale.com/mcpopenclaw mcp set promptgale '{"url":"https://promptgale.com/mcp","transport":"streamable-http","auth":"oauth","requestTimeoutMs":300000}'
openclaw mcp login promptgale# 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# 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"
]
}
}
}# 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.
| Tool | What it does | Changes something |
|---|---|---|
whoami | account, user, connection (OAuth client and scopes or API key), credits and links | No |
get_capabilities | engines available now with price, inputs, location support and countries | No |
list_countries | countries served, optionally for one engine | No |
list_states | US states for the state option | No |
run_prompt | ask one AI answer engine and wait for the answer, sources and brand analysis (waitSeconds 0: queue and get a taskId at once) | Yes |
submit_prompt | queue a prompt and get a taskId at once (deprecated: run_prompt with waitSeconds 0) | Yes |
run_task | any engine with the full REST payload, waits (dryRun: cost estimate only) | Yes |
submit_task | any engine with the full REST payload, returns a taskId (deprecated: run_task with waitSeconds 0) | Yes |
get_task | status and result of a task; waitSeconds polls until it finishes | No |
list_tasks | tasks with engine and status filters and pagination | No |
submit_batch | up to 10,000 tasks: prompts x engines or items (dryRun: cost estimate only) | Yes |
get_batch | batch progress and credits | No |
list_batch_items | batch items, optionally with results | No |
list_batches | recent batches | No |
submit_location_grid | one prompt or query from every point of a map grid | Yes |
get_location_grid | grid points with status and short answers | No |
list_location_grids | recent grids | No |
get_credits | credit balance | No |
get_usage | tasks and credits per day and engine | No |
get_stats | counts, success rate and top errors for the last hours | No |
get_queue_status | queued and running tasks, concurrency limit | No |
clear_queue | cancel every queued task and release their credits (destructive) | Yes |
cancel_task | cancel one queued task and release its credits (destructive) | Yes |
cancel_batch | cancel the queued work of one batch and release its credits (destructive) | Yes |
get_capacity | engine status and load | No |
list_api_keys | REST API key names and prefixes (keys are created and revoked in the dashboard) | No |
resolve_google_redirect | the page a Google redirect link leads to | No |
How does the OAuth sign-in work?
- Your client discovers the server from
/.well-known/oauth-protected-resource/mcpand the authorization server from/.well-known/oauth-authorization-server. - It registers itself, with a Client ID Metadata Document or Dynamic Client Registration, and uses PKCE (S256).
- 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.