Overview
The AIRE MCP server gives AI assistants and research tools direct, read-only access to AI Risk Explorer datasets through the Model Context Protocol. Connect it to Claude, Cursor or your own agent and ask questions in plain language; the assistant searches, aggregates and cites AIRE records on your behalf.
- Read-only. Nothing you send can change AIRE data.
- Scoped per partner. Each API key grants specific datasets, so you only see the tools and tables your agreement covers.
- Published records only. Records still under editorial review and internal working fields are never exposed.
- Live. Results reflect the AIRE databases at the moment of the request.
This page is also available as plain Markdown at https://airiskexplorer.com/partners/docs.md. Paste it into your own LLM's context, or give it the URL, so it knows how to use the server.
Quickstart
Endpoint: https://airiskexplorer.com/api/mcp (Streamable HTTP transport, stateless).
1. Get an API key. Keys are issued by the AIRE team. Email info@airiskexplorer.com with your organization, use case and the datasets you need.
2. Connect your client.
Claude Code
claude mcp add --transport http aire https://airiskexplorer.com/api/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Claude Desktop
Claude Desktop launches local servers, so bridge to the remote endpoint with mcp-remote. Add this to claude_desktop_config.json and restart the app:
{
"mcpServers": {
"aire": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://airiskexplorer.com/api/mcp",
"--header",
"Authorization: Bearer ${AIRE_API_KEY}"
],
"env": {
"AIRE_API_KEY": "YOUR_API_KEY"
}
}
}
}Cursor, Windsurf, VS Code and other HTTP-capable clients
Most clients accept a URL plus headers in their MCP configuration file:
{
"mcpServers": {
"aire": {
"url": "https://airiskexplorer.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Python (official MCP SDK)
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async def main():
headers = {"Authorization": "Bearer YOUR_API_KEY"}
async with streamablehttp_client("https://airiskexplorer.com/api/mcp", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
result = await session.call_tool(
"search_incidents",
{"actor_origin": "North Korea", "date_from": "2025-01-01", "limit": 10},
)
print(result.content[0].text)
asyncio.run(main())Raw HTTP
The server speaks JSON-RPC 2.0 over HTTP POST. Clients normally send initialize and tools/list first, but each request is independent, so a single tools/call also works:
curl -s https://airiskexplorer.com/api/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "incident_stats",
"arguments": { "group_by": "quarter", "risk_category": "Cyber Offense" }
}
}'3. Try it. Ask your assistant something like “Which countries' actors used AI in cyber operations most in 2026, and how sophisticated were they?” or “Find documented cases of AI agents sabotaging their own evaluations.”
Authentication and permissions
Send your key on every request as a bearer token:
Authorization: Bearer YOUR_API_KEY- Datasets. A key grants one or more datasets. Tools for datasets outside your key are not listed, and their tables reject queries.
- Raw SQL. The
query_sqltool is enabled per key. Without it you still have the search, get and stats tools. - Expiry and revocation. Keys can carry an expiry date and can be revoked at any time. A revoked or expired key gets
401. - Discovery. Call
describe_schemato see exactly which datasets, tables and columns your key can read. - Keep it secret. Treat the key like a password. Store it in an environment variable or secret manager rather than in shared prompts or code. If it leaks, ask us to rotate it.
Datasets
Threat incidents
AI-enabled malicious use: cyber offense, manipulation and influence operations, with actor, target, model and MITRE ATT&CK coding plus sophistication and impact scores.
| Dataset id | Tables (schema mcp) | Tools |
|---|---|---|
threats | incidents, incident_sophistication_scores, incident_impact_scores | search_incidents, get_incident, incident_stats |
Agentic incidents
Documented cases of AI agents acting against intended control, such as deception, sabotage, reward hacking and constraint circumvention, with behaviour, containment and loss-of-control coding plus sophistication scores.
| Dataset id | Tables (schema mcp) | Tools |
|---|---|---|
agentic_incidents | agentic_incidents, agentic_incident_sophistication_scores | search_agentic_incidents, get_agentic_incident, agentic_incident_stats |
More AIRE datasets, such as risk assessments and evaluations, will be added over time. Existing keys keep working and gain access only when the AIRE team grants it.
Tools reference
Search and stats filters are optional, case-insensitive and match partially, so model: "claude" matches every Claude model. Search tools return compact rows with a total count; page with limit and offset, then fetch full records with the matching get tool.
describe_schema
List the datasets this API key can read and every view in them with columns, types and row counts, plus the live rubric versions. Available to: Every key.
Takes no parameters.
search_incidents
Search AI-enabled threat incidents (cyber offense, manipulation and other malicious use). All filters are optional, case-insensitive and partial-match. Returns compact rows with the live sophistication score; use get_incident for the full record. Available to: Keys with the Threat incidents dataset.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
query | string | No | Free text matched against headline, description and impact. | |
risk_category | string | No | e.g. Cyber Offense, Manipulation. | |
actor | string | No | Threat actor name, partial match. | |
actor_origin | string | No | Country the actor operates from, partial match. | |
targeted_country | string | No | ||
targeted_sector | string | No | ||
model | string | No | AI model involved, e.g. Claude, ChatGPT, Gemini. | |
organization | string | No | Organization named in the incident, e.g. the reporting AI lab. | |
mitre_tactic | string | No | ||
taxonomy_category | string | No | ||
tier | string | No | Sophistication tier, e.g. Exploratory Use, Augmented Tactics, Autonomous Operations. | |
min_sophistication | number | No | Minimum sophistication score S. | |
date_from | date | No | Earliest reporting_date. Format YYYY-MM-DD. | |
date_to | date | No | Latest reporting_date. Format YYYY-MM-DD. | |
sort | enum | No | "newest" | One of newest, oldest, sophistication. |
limit | integer | No | 25 | Between 1 and 100. |
offset | integer | No | 0 | Minimum 0. |
get_incident
Fetch one threat incident by id with every field, its sophistication and impact scores, its parent and its child incidents. Available to: Keys with the Threat incidents dataset.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
id | uuid | Yes |
incident_stats
Count threat incidents grouped by one dimension, with average live sophistication score per group. Accepts the same filters as search_incidents. Array dimensions (actor, country, model…) count an incident once per value it lists. Available to: Keys with the Threat incidents dataset.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
group_by | enum | Yes | One of year, quarter, month, tier, model_availability, risk_category, actor, actor_origin, targeted_country, targeted_sector, model, organization, mitre_tactic, taxonomy_category. | |
query | string | No | Free text matched against headline, description and impact. | |
risk_category | string | No | e.g. Cyber Offense, Manipulation. | |
actor | string | No | Threat actor name, partial match. | |
actor_origin | string | No | Country the actor operates from, partial match. | |
targeted_country | string | No | ||
targeted_sector | string | No | ||
model | string | No | AI model involved, e.g. Claude, ChatGPT, Gemini. | |
organization | string | No | Organization named in the incident, e.g. the reporting AI lab. | |
mitre_tactic | string | No | ||
taxonomy_category | string | No | ||
tier | string | No | Sophistication tier, e.g. Exploratory Use, Augmented Tactics, Autonomous Operations. | |
min_sophistication | number | No | Minimum sophistication score S. | |
date_from | date | No | Earliest reporting_date. Format YYYY-MM-DD. | |
date_to | date | No | Latest reporting_date. Format YYYY-MM-DD. |
search_agentic_incidents
Search documented cases of AI agents behaving against intended control (deception, sabotage, reward hacking, self-exfiltration, constraint circumvention…). All filters are optional, case-insensitive and partial-match. Use get_agentic_incident for the full record. Available to: Keys with the Agentic incidents dataset.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
query | string | No | Free text matched against title and summary. | |
behavior | string | No | Matched against primary and secondary behaviours, e.g. Deception, Sabotage. | |
developer | string | No | Model developer, e.g. OpenAI, Anthropic. | |
model | string | No | ||
task_domain | string | No | ||
elicitation | string | No | ||
impact_realized | string | No | ||
autonomy_level | string | No | ||
min_sophistication | number | No | Minimum sophistication score. | |
date_from | date | No | Earliest date_reported. Format YYYY-MM-DD. | |
date_to | date | No | Latest date_reported. Format YYYY-MM-DD. | |
sort | enum | No | "newest" | One of newest, oldest, sophistication. |
limit | integer | No | 25 | Between 1 and 100. |
offset | integer | No | 0 | Minimum 0. |
get_agentic_incident
Fetch one agentic incident by its AIRE id (e.g. AIRE-AI-0210) or uuid, with every field and its scores. Available to: Keys with the Agentic incidents dataset.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
id | string | Yes |
agentic_incident_stats
Count agentic incidents grouped by one dimension, with average live sophistication score per group. Accepts the same filters as search_agentic_incidents. Array dimensions count an incident once per value it lists. Available to: Keys with the Agentic incidents dataset.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
group_by | enum | Yes | One of year, quarter, month, primary_behavior, elicitation, impact_realized, autonomy_level, model_stage, evidence_basis, containment_failure, secondary_behavior, developer, deployer, model, task_domain, capability_tag, loc_capability, loc_propensity. | |
query | string | No | Free text matched against title and summary. | |
behavior | string | No | Matched against primary and secondary behaviours, e.g. Deception, Sabotage. | |
developer | string | No | Model developer, e.g. OpenAI, Anthropic. | |
model | string | No | ||
task_domain | string | No | ||
elicitation | string | No | ||
impact_realized | string | No | ||
autonomy_level | string | No | ||
min_sophistication | number | No | Minimum sophistication score. | |
date_from | date | No | Earliest date_reported. Format YYYY-MM-DD. | |
date_to | date | No | Latest date_reported. Format YYYY-MM-DD. |
query_sql
Run one read-only PostgreSQL SELECT against the views in schema mcp (call describe_schema first). Unqualified names resolve to mcp. Runs in a read-only transaction with an 8 second timeout and returns at most 1000 rows. Available to: Keys with raw SQL enabled.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
sql | string | Yes | A single SELECT or WITH … SELECT statement. | |
max_rows | integer | No | 200 | Between 1 and 1000. |
Raw SQL
Keys with raw SQL enabled can run any single read-only PostgreSQL SELECT (including WITH queries) against the tables in schema mcp. Unqualified table names resolve to mcp.
- One statement per call.
INSERT,UPDATE, DDL and multiple statements are rejected. - Queries time out after 8 seconds and return at most 1,000 rows (default 200, set with
max_rows). The response says when rows were cut off. - Array columns such as
actors_origin,risk_catsandmodel_nameare PostgreSQLtext[]. Useunnest(),= ANY(column)orcolumn && ARRAY[...]. - Join scores on
incident_id(threats) oragentic_incident_id(agentic) and filter on the liverubric_versionshown below to avoid double counting older rubric runs. - Tables outside your key's datasets raise a permission error rather than returning empty results.
-- Threat incidents per quarter and origin, with the live sophistication score
SELECT to_char(i.reporting_date, 'YYYY-"Q"Q') AS quarter,
origin,
count(*) AS incidents,
round(avg(s.s), 1) AS avg_sophistication
FROM incidents i
CROSS JOIN LATERAL unnest(i.actors_origin) AS origin
LEFT JOIN incident_sophistication_scores s
ON s.incident_id = i.id AND s.rubric_version = 'v1'
WHERE i.reporting_date >= '2025-01-01'
GROUP BY 1, 2
ORDER BY 1, 3 DESC;
-- Agentic incidents where a model tried to evade oversight in deployment
SELECT aire_incident_id, incident_title, date_reported, model_name, source_link
FROM agentic_incidents
WHERE primary_behavior ILIKE '%oversight%'
AND initial_setting ILIKE '%deploy%'
ORDER BY date_reported DESC;Data notes
| Topic | Details |
|---|---|
| Threat sophistication | Score s sums autonomy (a), adaptivity (p), dependence (g), operational stage coverage (v) and capability depth (c), and maps to a tier from Exploratory Use to Autonomous Operations. Live rubric: v1. |
| Threat impact | incident_impact_scores codes harm types, scale, financial loss and NCISS-style functional, information and recoverability impact. |
| Agentic scores | Three dimensions: sophistication (sum of the soph_* components, max 29), control subversion (ctrl_raw, sum of ctrl_o, ctrl_d and ctrl_i, max 25) and realised impact (impact_e effect reached and impact_g magnitude, reported as a profile rather than summed). score_vector packs all three into one string. Live rubric: revised-2026-09. |
| Dates | reporting_date and date_reported are when the incident was first publicly reported, not when it happened. |
| Related threats | Threat incidents can have a parent_id; get_incident returns the parent and any children. |
| Unknown values | Unknown in actor origin and similar fields means the source did not attribute it. Empty arrays mean the field was not coded. |
When you publish work using AIRE data, cite AI Risk Explorer and link the original source of each incident (the link or source_link field).
Limits and errors
| Response | Meaning |
|---|---|
HTTP 401 | Missing, invalid, expired or revoked API key. |
HTTP 405 | Only POST is supported. The server is stateless and does not open SSE streams. |
HTTP 503 | The database is temporarily unavailable. Retry with backoff. |
Tool result with isError: true | The request reached the database but failed, for example a SQL error, a timeout or a dataset your key lacks. The message explains why. |
Search tools return up to 100 rows per call and stats tools up to 200 groups. Please keep automated polling modest; contact us if you need bulk exports.
Support
For access, new datasets, higher limits or problems, email info@airiskexplorer.com.