Piloterr

Quickstart with an AI assistant (MCP)

Let Claude, ChatGPT, Grok Build or any MCP client create projects, start runs and read the results through the Piloterr MCP server.

This guide runs the companies of the quickstart from an AI assistant connected to the Piloterr MCP server. Next to the Piloterr API's tools, every Dataflow route that deletes nothing is a tool whose name starts with dataflow_.

Connect your assistant

Connect the MCP server https://mcp.piloterr.com/ as the MCP guide explains: sign in with your Piloterr account, or send an API key in the x-api-key header. The dashboard page API → MCP gives the command or configuration for your client.

Give the key Dataflow access

The Dataflow tools use the API key your assistant connects with, and what that key may do in Dataflow, its Dataflow access (see What a key can do):

AccessWhat the assistant can do
NoneOnly dataflow_check_api_key, which says the key's access.
ReadList and read endpoints, projects, runs, results, download links, templates and alerts.
Read and writeAlso create inputs and projects, start, cancel, resume and retry runs, and manage alert channels.
AdminAlso destinations (webhooks and queues), cloud storage connections and deliveries.

When you sign in with your account, the consent screen shows the Dataflow access of the key the app will use in the workspace you choose. The app gets its own key, named after it (for example mcp-claude-code), and a new key starts with None: open API → API keys, edit that key and choose a level. The change applies within 30 seconds.

A tool the key's access does not cover does not run: it answers with the level it needs and the page where you change it.

Ask for a run

Ask in plain words, for example:

With Piloterr Dataflow, run Company Database over stripe.com, notion.so and figma.com,
then give me a download link to the results.

The assistant usually chains these tools:

Find the endpoint

dataflow_list_endpoints gives each endpoint's id, parameters and credit cost.

Create the input and the project

dataflow_create_list_input stores the three domains as a list, then dataflow_create_project maps the endpoint's parameter to the list's value column.

Run it

dataflow_start_run queues the run, then dataflow_get_run follows it until it is completed. The run spends credits, as it would from the dashboard.

Read the results

dataflow_get_run_results reads the rows page by page, and dataflow_get_export_link gives a link to the file that works without the key until it expires.

The tools

GroupToolsAccess
Account and endpointsdataflow_check_api_key, dataflow_list_endpoints, dataflow_list_api_keysNone, Read
Inputsdataflow_create_list_input, dataflow_create_upload_url, dataflow_parse_input, dataflow_check_input_rows, dataflow_preview_url_input, dataflow_preview_search_inputRead and write
Projects and templatesdataflow_list_projects, dataflow_get_project, dataflow_create_project, dataflow_update_project, dataflow_duplicate_project, dataflow_list_templates, dataflow_create_project_from_template…Read, Read and write
Runs and resultsdataflow_start_run, dataflow_get_run, dataflow_cancel_run, dataflow_list_runs, dataflow_get_run_results, dataflow_get_run_errors, dataflow_get_run_diff, dataflow_get_export_link, dataflow_estimate_retry, dataflow_retry_failed_rows, dataflow_resume_run…Read, Read and write
Alertsdataflow_list_alert_channels, dataflow_add_alert_channel, dataflow_test_alert_channel, dataflow_set_project_alerts…Read, Read and write
Destinationsdataflow_list_destinations, dataflow_add_destination, dataflow_update_destination, dataflow_test_destination, dataflow_list_destination_attempts…Admin
Deliveries and cloud storagedataflow_add_delivery, dataflow_send_delivery, dataflow_add_cloud_connection, dataflow_test_cloud_connection…Admin

Each tool's description says what it does, what it costs and the access it needs. Tools that only read are marked read-only for your client, and tools that reach outside Dataflow (runs, previews, tests of a webhook or a bucket) are marked as such.

Nothing is deleted

No tool deletes or revokes anything. Archiving or deleting a project (purge=true included), revoking download links and removing an alert channel, a destination, a delivery, a cloud connection or an email address stay in the dashboard and the API.

The one exception is dataflow_cancel_run: it stops a run (no new call starts, calls in flight finish) but deletes nothing. The rows already called, their results, exports and the credits they used stay. Clients flag it as destructive, because the run does not go on.

Uploading a file (POST /v1/inputs) and downloading result files are not tools either: an assistant sends JSON and reads text. Use a list or a URL input, or dataflow_create_upload_url for a file, and dataflow_get_export_link or dataflow_get_run_results for the results.

What it costs

A tool call is a Dataflow API call made with your key. Reading is free. Runs spend credits as in the dashboard: each row is one call of the endpoint at its credit cost, up to the project's max_cost_per_run. Previewing a search input runs one billed call. Previews and tests are rate-limited: when a limit is reached, the tool's answer gives retry_after, the seconds to wait.

On this page