Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.topk.io/llms.txt

Use this file to discover all available pages before exploring further.

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

Authentication

To authenticate with the MCP server, you need to provide your TOPK_API_KEY.
Get your API key here.

Setup

aws-us-east-1-elastica

claude mcp add --transport http topk https://elastica.api.topk.io/mcp \
--header "Authorization: Bearer <your-topk-api-key>"

aws-eu-central-1-monstera

claude mcp add --transport http topk https://monstera.api.topk.io/mcp \
--header "Authorization: Bearer <your-topk-api-key>"
TopK MCP server is region-specific. See available regions here.

Available tools

Once connected, your agent will have access to list_datasets and ask tools. Agents typically follow this flow:
  1. Call list_datasets to discover what datasets are available
  2. Select one or more relevant datasets
  3. Call ask with a natural language query and the selected datasets

list_datasets

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.

ask

Queries one or more datasets using natural language and returns a grounded answer. These ask modes are supported:
  • auto (default) — chooses the best mode based on the provided query
  • summarize — gathers information from the datasets and returns a concise answer
  • research — multi-step search and reasoning, best for analytical or comparative questions