The interactive docs could not load. This may be due to network restrictions blocking the Scalar CDN.
You can still access the raw OpenAPI spec: openapi.yaml
For machine consumers, see agents.md.
All 10 tools available via JSON-RPC 2.0 at https://mcp.opendistrict.org/mcp. Bearer token required. These are the exact tools/list names; calling any other name returns MCP error -32602. Four scenario prompts are also exposed via prompts/list (follow-the-money, scan-the-courts, meeting-brief, thesis-watch) — prompts are not tools.
Execute a read-only SQL SELECT query over the data platform.
Semantic search over events using vector embeddings (Qdrant, mxbai-embed-large-v1, 1024-dim).
Inspect the queryable schema — the tables and columns the run_sql tool can SELECT from.
The semantic data catalog — curated descriptions of every queryable table and column, plus example questions and their SQL.
Federated semantic + lexical search across the whole platform (Qdrant vectors, ClickHouse events, Postgres full-text fallback).
Tenant-level summary metrics: total events, events today, active sources, active pipelines.
List the tenant's data sources (name, connector_type, status, event_type, last_sync_at, last_error).
List the tenant's pipelines (name, status, schedule, source, destination, total_runs, failed_runs).
Return the tenant's flow topology graph (sources/flows nodes + edges).
Find how two entities are connected in the entity graph.