MCP server
The Model Context Protocol server of AIR-Core lets assistants and agent platforms (Claude, ChatGPT, Cursor, AgentOS…) work with your data: query and create sources, train and explain models, predict, and create visualizations, dashboards and automations. It always acts with the identity and permissions of the person who connects it.
| Item | Value |
|---|---|
| URL (default) | https://app.air-core.io/mcp/directory: reads the data and creates new, private items; no tool edits or deletes data, and AIR-Core enforces it: an OAuth token authorized for this address gets 403 at https://app.air-core.io/mcp and on the API operations its tools do not use (code DIRECTORY_SCOPE) |
| URL of the full set (edits data) | https://app.air-core.io/mcp: adds, among others, the tools that edit and delete rows of a source |
| Transport | Streamable HTTP (recommended) or SSE at https://app.air-core.io/sse |
| Identity | OAuth 2.1 or an AIR-Core personal token |
| Plans | All of them, the free one included |
| Tools | 57 at the default address (the set of the Claude and ChatGPT directories) and 116 in the full set; none deletes sources, models or dashboards |
Connect it
Claude.ai, ChatGPT and other assistants (OAuth)
Add a custom connector with the URL https://app.air-core.io/mcp/directory and nothing else (in Claude: Customize → Connectors → Add custom connector; in ChatGPT, a custom MCP server with OAuth authentication). The assistant discovers AIR-Core, registers and opens the AIR-Core window: sign in, choose the organization and the permissions (read, or read and write) and press Authorize application. Tokens renew by themselves. To disconnect, remove the connector or revoke it in Artificial intelligence → Connect your assistant (also in the menu of your account), which gives the steps of each client, says which ones are connected and brings three requests to try.
Full set (edits data). https://app.air-core.io/mcp offers every tool, including the ones that edit and delete rows of a source, clean columns and remove duplicates. Every change stays in the version history of the source and can be undone. Use it only if you want the assistant to change your data. Both addresses work at the same time; there is no switch per organization.
Claude Code
With OAuth:
claude mcp add --transport http aircore https://app.air-core.io/mcp/directory
Then, in Claude Code, /mcp → aircore → Authenticate.
With a personal token (Account → API and AI applications → New token). The token is shown only when you create it: copy it then; if you lose it, delete it and create another.
claude mcp add --transport http aircore https://app.air-core.io/mcp/directory \
--header "x-auth-token: $AIRCORE_TOKEN" \
--header "x-organization: $AIRCORE_ORG"
Agent platforms (AgentOS and others)
Platforms that call MCP servers from their backend connect in one of two ways:
- Personal token: a remote MCP server with Streamable HTTP at
https://app.air-core.io/mcp/directory(orhttps://app.air-core.io/mcp, the full set, which edits data) and two headers:x-auth-token(the token) andx-organization(the ID of the organization, the part of the URL after/o/). - OAuth with a confidential client: in AIR-Core, Artificial intelligence → Connect your assistant → Connect an agent platform. With the name and the callback URL of the platform, AIR-Core generates a client ID and secret. In the platform, set:
| Field | Value |
|---|---|
| Authorization URL | https://app.air-core.io/oauth2/authorize |
| Token URL | https://app.air-core.io/oauth2/token |
| Client authentication | secret in the body (client_secret_post) or HTTP Basic |
| Scopes | read write |
With OAuth, each person chooses the organization and the permissions when authorizing; x-organization is not needed. PKCE is optional for confidential clients and required for public ones.
Tools
The table lists the full set (https://app.air-core.io/mcp). The default address (https://app.air-core.io/mcp/directory) offers 57 of them: account and workspaces, sources (without the ones for URLs and other origins), metrics, recommendations without AI, tasks, models and forecasts, visualizations and dashboards (without the public link), automations (simple notices and flows that email the notice list), AI governance, value, and comments and annotations.
| Group | Read only | Create something |
|---|---|---|
| Account and workspaces | get_current_user, list_workspaces, get_workspace |
|
| Data sources | list_sources, get_source, query_source_data, analyze_source_data |
create_source_from_url, create_source_other, create_empty_source, create_derived_source |
| Source catalogue | get_source_catalog |
update_source_catalog (changes the catalogue, not the data; idempotentHint annotation) |
| Joining several sources | suggest_join_keys, get_join_report |
create_multi_join (a main source with 1 to 5 more; task) |
| Search the data | search_data (sources, columns, recipes, joins, models, dashboards, visualizations and metrics by words, only what the user can see) |
|
| Data quality | list_quality_rules, get_quality_report |
set_quality_rules (replaces the rules of a source and checks them; it can turn the quality alert on, never off; idempotentHint annotation) |
| Model monitoring | get_model_monitoring |
set_model_monitoring (switch, thresholds, sources watched; it can turn the alert of the model on, never off; idempotentHint annotation) |
| Recipes (prepared sources) | get_recipe, preview_recipe |
create_recipe (a new source made by steps over another one, recomputed by itself), update_recipe (changes the steps; idempotentHint annotation) |
| Text analysis | get_text_analysis, summarize_texts |
analyze_texts (a new source with the sentiment, keywords, entities and topics of a column of texts, without generative AI) |
| Recommendations | suggest_predictions, recommend_for_data |
recommend_for_data_with_ai (the AI receives only the structure; spends AI credits) |
| Metrics | list_metrics, get_metric, get_briefing, explain_metric_change |
create_metric, follow_metric |
| Tasks | list_tasks, get_task |
|
| Models | list_models, list_model_methods, get_model, get_model_evaluation, get_model_card, get_model_trust_report, predict, batch_predict, explain_model, explain_prediction, explain_model_rules, get_representative_cases, find_counterfactuals, explain_model_differences, explain_model_effects, audit_model_fairness |
create_model, apply_model |
| Forecasts | get_forecast, explain_forecast |
create_forecast |
| Model versions | list_model_versions |
retrain_model (a new version with the current data; it stays a candidate), promote_model_version (changes the version in use; asks for confirm: true; idempotentHint annotation) |
| Scheduled retraining | get_retrain_schedule |
set_retrain_schedule (off, a calendar, when the data changes or on drift; promotion by itself only on the same rows; asks for confirm: true; idempotentHint annotation) |
| Comparing methods | get_experiment |
create_experiment (several methods on the same data and split; task), choose_experiment_winner (the chosen candidate becomes a model, the others are discarded; needs confirm: true; idempotentHint annotation) |
| Models with generative AI | list_genai_models, get_genai_model, estimate_genai_model |
plan_genai_model, update_genai_model, check_genai_model, apply_genai_model (all but update_genai_model spend AI credits) |
| Visualizations and dashboards | list_visualizations, suggest_visualizations, list_dashboards, propose_dashboard |
create_visualization, create_suggested_visualization, build_dashboard, create_proposed_dashboard, create_dashboard, clone_dashboard, create_embed_link |
| Automations | list_automations (simple notices and flows), get_automation_history, list_flows, get_flow, list_flow_runs |
create_automation (saved as a simple notice when it is exactly one, as a flow otherwise; with a model, a webhook or rows written it asks for confirm: true), create_flow, update_flow, test_flow |
| AI governance | get_ai_policy, get_ai_register (administrators) |
|
| Organization | get_value_report (what AIR-Core did in a month; administrators) |
|
| Comments and annotations | list_comments, list_annotations |
add_comment, add_annotation |
| Templates by sector | list_templates (what each one creates, from which data and which columns a source of your own needs) |
apply_template (creates the example source, trains the model and creates the dashboard and a simple notice in one task; get_task carries the summary in template) |
Read-only tools carry the readOnlyHint annotation. create_embed_link creates a public link: a person should approve it. add_annotation with shared: true shows the text in shared views, so it carries openWorldHint too. Comments never appear in shared links, and a mention only notifies people who can see the dashboard or the visualization.
How it works
- Long operations. Importing a source and training a model return a
task_idat once; pollget_taskuntil its status issuccessorfailed. No call waits more than a few seconds. - Metrics. A metric of the workspace (
list_metrics) is a calculation defined once: when the user names it or a synonym, use its definition as it is.get_metricgives its value against the previous period, trend, unusual values, targets with their projection and why it changed;explain_metric_changesays which groups explain a change (exact for sums, counts and averages);get_briefingis the briefing of the metrics the user follows.create_metricsaves a calculation as a metric (AIR-Core checks it against the source) andfollow_metricadds it to the user's daily or weekly briefing. - Exact figures. For any numeric question (totals, averages, counts, the largest, the trend, the comparison with the previous period) use
analyze_source_data: AIR-Core computes the figure on the server over all the rows, with fields by name, periods such aslast_monthand the user's time zone, and says how many rows it read and whether the read was partial. On the free plan it needs the organization's own AI key (TALK_PLAN_REQUIRED). - Dashboards.
build_dashboarddesigns and creates in one step the dashboard of a source (up to 5).propose_dashboardshows, without creating anything, the one AIR-Core proposes for the whole workspace (one section per source with what is already made and what is recommended, and the metrics of the models if you can read them);create_proposed_dashboardcreates it with the same choices.suggest_visualizationsgives the charts recommended for a source, with their configuration, andcreate_suggested_visualizationcreates one by itskey. Everything is created private. - Feature indexes. Targets, axes and filters use the index of each column returned by
get_source. - What each column means.
get_sourcewithinclude_catalog: true, orget_source_catalog, gives the catalogue of the source: description, unit and kind of value of each column, provenance and personal data, as an AI may see it (without the person in charge nor the texts where AIR-Core finds personal data).update_source_catalogcompletes it by column index or name. - Joining several sources.
suggest_join_keysproposes the key columns between a main source and others (with the share of the sample that finds a match);create_multi_joincreates a source that joins them (leftkeeps every row of the main source,inneronly those with a match; a repeated key uses its first row) and refreshes itself;get_join_reporttells, after each run, which rows found no match. The joined sources have a cap of rows per plan: above it, join two at a time withcreate_derived_source(join). - Automations.
create_automationtakes atrigger(source_updatedwhen new rows arrive,scheduleeveryevery_hourshours,stallwhen no data arrives forhourshours,metricwhen a metric meets a condition:metric,measure,op,threshold,period,compareandfilters, as «Alert me when…» in Metrics), acondition(all, orruleson columns witheq,gt,gte,lt,lte,cn,cni,sw,ew,null) andactions(by default an email to the notice list of the workspace; also a webhook, which Slack, Microsoft Teams, Google Chat and Discord show as a readable message, and rows written to another source). AIR-Core saves it as a simple notice when it is exactly one and as a flow otherwise, and the answer says which and why (saved_as).get_automation_historygives when a notice fired or the runs of a flow. - Filters (QueryTree). A
singlenode compares a feature (left, its index) with a value (right) usingeq,gt,gte,lt,lte,cn(contains),sw(starts with),ew(ends with),null,gtd/ltd(relative dates such as1d);allof,anyofandnotnodes combine them. - Limits. Bounded rows and response size, pagination, and a rate limit per person and organization (answers 429).
- Log. Every call is recorded in the activity of the AI of the organization (Artificial intelligence → Activity): who, which tool, when and with what result.
Troubleshooting
| Answer | What to do |
|---|---|
| 401 | The token is missing or expired, or the connection must be authorized again |
| 403 | The role of the person does not allow that action in that workspace |
| 429 | Wait a few seconds and retry |
Task failed |
Check error_code in get_task (separator, columns, types) |
TOOL_REPLACED |
The tool was renamed: call the one in details.replacement |
Changes
November 2026: alerts are automations. list_alerts, create_alert and get_alert_history were replaced by list_automations, create_automation and get_automation_history (in both sets). A call to an old name answers the error TOOL_REPLACED with the new one. The tools use API v2; in API v1 the operations of the alerts answer 410 Gone (ALERTS_REMOVED).