subsets.io

Connect your LLM with the world's statistics

Become a publisher

Three tools, thousands of datasets

1
search_datasets// Find relevant statistical data
2
get_dataset_details// Understand data structure
3
execute_sql_query// Extract specific insights
Access data locally, or in the cloud

Loading datasets...

Add to MCP Client

Requires uv installed.

Claude Code (CLI)

Run this command. See Claude Code MCP docs for more info.

claude mcp add subsets -- \
uvx --from git+https://github.com/subsetsio/subsets-mcp-server.git mcp-server \
--api-key SIGN_UP_FOR_API_KEY

Claude Desktop

Open Claude Desktop developer settings and edit your claude_desktop_config.json file to add the following configuration. See Claude Desktop MCP docs for more info.

{
"mcpServers": {
"subsets": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/subsetsio/subsets-mcp-server.git",
"mcp-server",
"--api-key",
"SIGN_UP_FOR_API_KEY"
]
}
}
}

After installing, ask things like "What is the relationship between smoking and life expectancy in the US?" or "What trends are happening in the US labor market this year?"

For full documentation, including accessing via REST and publishing data, visit our docs.