Skip to main content

Infatica MCP

Infatica MCP documentation

The Model Context Protocol (MCP) lets an AI client talk to external tools. Infatica runs an MCP server that exposes your account's runs, analyses, schedules, usage, and balance as tools the model can call on your behalf.

The MCP server is authenticated with a Personal Access Token that you control.

Endpoint

https://dataplatform.infatica.io/mcp

Connect

First, create a Personal Access Token in Settings -> Personal Access Tokens and choose the scopes you want to grant.

For a guided setup with the token already filled in, open Settings -> MCP Connect.

Replace infpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx in the examples below with your Personal Access Token.

Claude Code

claude mcp add --transport http --scope user infatica https://dataplatform.infatica.io/mcp \
--header "Authorization: Bearer infpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Cursor

Add the server to ~/.cursor/mcp.json:

{
"mcpServers": {
"infatica": {
"url": "https://dataplatform.infatica.io/mcp",
"headers": {
"Authorization": "Bearer infpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}

Claude.ai

Go to Settings -> Connectors -> Add custom connector and use the following values:

URL: https://dataplatform.infatica.io/mcp
Header: Authorization: Bearer infpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Local development with stdio

Run the server directly against a local gateway instead of using the hosted HTTP endpoint:

INFATICA_PAT=infpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
GATEWAY_BASE_URL=http://localhost:8081 \
python services/mcp-server/server.py

Authentication and scopes

Every request authenticates with a Personal Access Token in the following format:

Authorization: Bearer infpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

A token only unlocks the tools covered by the scopes granted to it. Calling a tool outside the token's scopes returns a 403 error.

ScopeGrants
runs:readRead runs, exports, stats, logs, bulk status, usage, and audit log.
runs:writeCreate, retry, and cancel runs, bulk runs, and individual items.
analyses:readList and read analyses, comparisons, and templates.
analyses:writeCreate analyses, compare runs, and retry comparisons.
schedules:writeList, create, update, and delete recurring schedules. There is no separate read scope for schedules.
keys:readRead stored LLM keys in the web UI only. This scope is not exposed as a tool.

check_balance and refresh_balance use your session and do not require a scope.

Personal Access Tokens cannot create or revoke other Personal Access Tokens. Token management is available only through a browser session.

Tool reference

Infatica MCP exposes 28 tools grouped by area. The model chooses the right tool based on your request.

Runs

ToolWhat it doesScopeType
list_runsList runs with optional filters: type, status, query, and date range.runs:readread-only
create_runCreate a new data collection run.runs:writewrite
get_runGet a run's details and all item statuses.runs:readread-only
retry_runRetry all failed items in a run.runs:writewrite
cancel_runCancel a running or queued run.runs:writedestructive
export_runDownload run results as json, csv, md, or html.runs:readread-only
get_run_statsShow dashboard stats: 14-day counts, status mix, and totals.runs:readread-only
get_run_logsGet the event log for a run.runs:readread-only
retry_itemRetry a single failed or cancelled item in a run.runs:writewrite

Bulk runs

ToolWhat it doesScopeType
create_bulk_runFan the same items across multiple engines.runs:writewrite
get_bulk_runGet the status of a bulk run and all its child runs.runs:readread-only
retry_bulk_runRetry all failed child runs in a bulk run.runs:writewrite

Analysis: single run

ToolWhat it doesScopeType
create_analysisRun an LLM analysis over a completed run's results.analyses:writewrite
list_analysesList analyses for a run.analyses:readread-only
get_analysisGet a specific analysis result.analyses:readread-only
list_analysis_templatesList single-run analysis templates.analyses:readread-only

Cross-run comparison

ToolWhat it doesScopeType
compare_runsCompare 2 to 10 runs in one cross-run analysis.analyses:writewrite
list_comparisonsList your cross-run comparisons.analyses:readread-only
list_comparison_templatesList cross-run comparison templates.analyses:readread-only
retry_comparisonRetry a failed comparison.analyses:writewrite

Schedules

ToolWhat it doesScopeType
list_schedulesList your recurring schedules. This is read-only, but gated on schedules:write because there is no schedules:read scope.schedules:writeread-only
create_scheduleCreate a recurring schedule for a run.schedules:writewrite
update_scheduleUpdate a schedule, including status, cron, or preset.schedules:writewrite
delete_scheduleDelete a schedule with soft delete.schedules:writedestructive

Usage

ToolWhat it doesScopeType
get_usage_summaryShow usage summary with a daily breakdown.runs:readread-only
list_usage_eventsShow individual usage events per request.runs:readread-only

Balance

ToolWhat it doesScopeType
check_balanceShow your cached Infatica account balance.sessionread-only
refresh_balanceForce-refresh balance from upstream.sessionwrite

Audit

ToolWhat it doesScopeType
get_audit_logShow recent audit entries, including who did what via PAT or session.runs:readread-only

Prompts and slash commands

Infatica MCP also exposes canned multi-step flows that your client can show as slash commands.

PromptWhat it does
/scrape_urlsKick off a scraper run from a list of URLs.
/compare_latestCompare your most recent runs of a given type.
/usage_reportSummarize your usage over a date range.
/run_statusCheck the status of a run by ID.
/check_accountShow balance and account status.

Troubleshooting

SymptomFix
401 Authentication failedToken is missing, mistyped, or revoked. Create a fresh Personal Access Token in Settings and update your config.
403 missing required scopeYour token does not include the required scope. The error message names the missing scope. Recreate the token with that scope.
Connection or timeout errorsCheck that the URL is exactly https://dataplatform.infatica.io/mcp and that the Authorization header is present on every request.