@statsmcp/sistat
v0.4.1
Published
MCP server for SiStat, the database of the Statistical Office of the Republic of Slovenia (SURS)
Maintainers
Readme
@statsmcp/sistat
An MCP server for SiStat, the database of the Statistical Office of the Republic of Slovenia (SURS). It gives AI assistants access to more than 4,800 tables in Slovenian and English.
This project is not affiliated with or endorsed by SURS.
Use the server
Hosted
Add https://statsmcp.dev/si/mcp as a remote MCP server. It uses Streamable HTTP and needs no authentication. For the steps for each client, refer to statsmcp.dev/slovenia.
Local
You need Node.js 20 or later.
{
"mcpServers": {
"sistat": { "command": "npx", "args": ["-y", "@statsmcp/sistat"] }
}
}For Claude Code:
claude mcp add sistat -- npx -y @statsmcp/sistatTools
| Tool | What it does |
| -------------------- | ------------------------------------------------------------------------------------------------ |
| search_tables | Finds tables by keywords in their titles. Returns table IDs, titles and publication dates. |
| get_table_metadata | Lists the variables of a table and their value codes. Use valueFilter to find a value by name. |
| query_table | Returns data as CSV with readable labels. Use latest for recent periods. |
All tools are read-only. Each tool accepts lang (sl or en). For real calls and results, refer to the examples.
Use it in your own server
npm install @statsmcp/sistatimport { StdioServerTransport } from '@modelcontextprotocol/server/stdio';
import { createSistatServer } from '@statsmcp/sistat';
const server = createSistatServer({ userAgent: 'my-app/1.0' });
await server.connect(new StdioServerTransport());createSistatServer returns an McpServer. It also accepts a cache. To make one, install @statsmcp/core and use createMemoryCache, or implement the Cache interface.
Data licence and attribution
SURS data is free to use for any purpose, including commercial use, if you name SURS as the source. Refer to the SURS copyright terms.
Each result contains the source line and a link to the table on SiStat. If you calculate new figures from the data, you must say so, for example: Source: SURS / Calculated by <you>.
Licence
The code is under the MIT licence. The data belongs to SURS.
