Skip to content
Connect your agents

Connect your agents

Once a metric exists, qontexta exposes it on four surfaces. Use whichever fits your tool.

MCP (for AI agents)

The MCP server lets agents like Claude discover and query your metrics as tools. Point your MCP client at:

https://mcp.qontexta.ai

Authenticate with a personal API key (create one in Profile → API keys).

REST API

curl https://api.qontexta.ai/api/metrics/query \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "X-Tenant-Id: <YOUR_TENANT_ID>" \
  -H "Content-Type: application/json" \
  -d '{ "metric": "total_revenue", "dimensions": ["country"], "limit": 100 }'

GraphQL API

A GraphQL endpoint is available for typed, nested queries against the same semantic layer. Use your API key as a bearer token.

SQL (for BI tools)

Connect Tableau, Power BI, Qlik or any SQL client to qontexta’s semantic SQL interface and query metrics as if they were tables — no raw warehouse SQL required.

Every surface speaks the same metric definitions, so the numbers always match.