Skip to main content
The TopK MCP server lets any MCP-compatible AI agent query your datasets using natural language. Once connected, your agent can:
  • List datasets — discover what data is available
  • Ask questions — query datasets with natural language and get grounded answers
Prerequisites

MCP Server URL

The MCP server URL is region-specific. Make sure to use the URL that matches the region where your datasets are stored, otherwise requests will fail.
The MCP server URL depends on the region where your datasets are stored:
RegionMCP Server URL
aws-us-east-1-elasticahttps://elastica.api.topk.io/mcp
aws-eu-central-1-monsterahttps://monstera.api.topk.io/mcp

Setup

Open your Claude Desktop config file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Alternatively, go to Settings → Developer → Edit Config.Add the following under mcpServers:
{
  "mcpServers": {
    "topk-elastica": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://elastica.api.topk.io/mcp",
        "--header",
        "Authorization: Bearer ${API_TOKEN}"
      ],
      "env": {
        "API_TOKEN": "your-api-key"
      }
    }
  }
}
Restart Claude Desktop to apply the changes.

Available tools

Once connected, your agent will have access to the following tools:
Lists all available datasets in your TopK project. The agent should call this first to discover what data is available before answering any data-related questions.
Queries one or more datasets using natural language and returns a grounded answer. Supports two modes:
  • reason (default) — multi-step search and reasoning, best for analytical or comparative questions
  • summarize — single search with a concise answer, best for simple lookups