MCP server/other

Ukrainian Statistics MCP Server

Access official Ukrainian government statistics via the SDMX API

★ 49VladyslavMykhailyshyn/ukrainian-stats-mcp-server ↗by VladyslavMykhailyshynupdated
1

Add it to Claude Code

claude mcp add ukrainian-stats -- ukrainian-stats-mcp
2

Make your agent remember this setup

ukrainian-stats's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Access to official Ukrainian government statistics
  • Support for multiple statistical domains like energy, demographics, and trade
  • Bilingual support for Ukrainian and English
  • Flexible data filtering and querying
  • Comprehensive metadata exploration including dataflows and codelists

Tools 3

list_dataflowsList all available dataflows (datasets) from the Ukrainian Statistics Service.
get_dataflowGet detailed information about a specific dataflow.
get_data_structureGet the Data Structure Definition (DSD) for a dataset.

Try it

List all available statistical dataflows from the Ukrainian government.
Get detailed information about the DF_SUPPLY_USE_ENERGY dataflow.
What are the dimensions and attributes for the latest Ukrainian trade statistics dataset?
Original README from VladyslavMykhailyshyn/ukrainian-stats-mcp-server

Ukrainian Statistics MCP Server

🇺🇦 Українська версія

A Model Context Protocol (MCP) server that provides AI models with seamless access to Ukrainian statistical data from the State Statistics Service of Ukraine (Державна служба статистики України) via their SDMX API v3.

Features

  • 🇺🇦 Access to official Ukrainian government statistics
  • 📊 Support for multiple statistical domains (energy, demographics, trade, etc.)
  • 🌐 Bilingual support (Ukrainian and English)
  • 🔍 Flexible data filtering and querying
  • 📈 Comprehensive metadata exploration (dataflows, structures, codelists)
  • ⚡ Fast XML-to-JSON conversion for easy data consumption

Installation

Method 1: Install from npm (Recommended)

The easiest way to install the MCP server is via npm:

npm install -g ukrainian-stats-mcp-server

After installation, add to Claude Desktop configuration:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ukrainian-stats": {
      "command": "ukrainian-stats-mcp"
    }
  }
}

Restart Claude Desktop and you're ready to use the server!

Note: On Linux/macOS, if you encounter permission issues, you may need to use sudo npm install -g ukrainian-stats-mcp-server or configure npm to use a user directory.

Method 2: Quick Install Using Install Scripts

The easiest way to install locally is using the provided install scripts. These scripts automatically install dependencies, build the project, and make the command globally available.

  1. Clone the repository:
git clone https://github.com/VladyslavMykhailyshyn/ukrainian-stats-mcp-server.git
cd ukrainian-stats-mcp-server
  1. Run the install script:

Windows (PowerShell):

.\install.ps1

Windows (Command Prompt):

install.bat

Linux/macOS:

chmod +x install.sh
./install.sh

The install scripts will:

  1. ✅ Check for Node.js (requires version 18 or higher)
  2. 📦 Install all dependencies
  3. 🔨 Build the project
  4. 🔗 Link the command globally (makes ukrainian-stats-mcp available system-wide)

After running the install script, add to Claude Desktop configuration:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ukrainian-stats": {
      "command": "ukrainian-stats-mcp"
    }
  }
}

Then restart Claude Desktop and you're ready to use the server!

Note: On Linux/macOS, if you encounter permission issues, you may need to run sudo ./install.sh or configure npm to use a user directory (the script will provide instructions).

Method 3: Install from GitHub

  1. Install globally via npm from GitHub:
npm install -g git+https://github.com/VladyslavMykhailyshyn/ukrainian-stats-mcp-server.git
  1. Add to Claude Desktop configuration:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "ukrainian-stats": {
      "command": "ukrainian-stats-mcp"
    }
  }
}
  1. Restart Claude Desktop - The server will be ready to use!

Method 4: Local Development Installation

  1. Clone the repository:
git clone https://github.com/VladyslavMykhailyshyn/ukrainian-stats-mcp-server.git
cd ukrainian-stats-mcp-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Add to Claude Desktop configuration (use absolute path):
{
  "mcpServers": {
    "ukrainian-stats": {
      "command": "node",
      "args": ["/absolute/path/to/ukrainian-stats-mcp-server/build/index.js"]
    }
  }
}

Available Tools

1. `list_dataflows`

List all available dataflows (datasets) from the Ukrainian Statistics Service.

Purpose: Discover what statistical domains are available (e.g., energy, trade, demographics).

Parameters:

  • detail (optional): Level of detail - full, allstubs, or referencestubs (default: full)

Example:

Please list all available dataflows from Ukrainian statistics.

2. `get_dataflow`

Get detailed information about a specific dataflow.

Purpose: Understand the structure and metadata of a specific dataset.

Parameters:

  • dataflow_id (required): The dataflow identifier (e.g., DF_SUPPLY_USE_ENERGY)
  • agency_id (optional): Agency ID (default: SSSU)
  • version (optional): Version (default: latest)

Example:

Get information about the DF_SUPPLY_USE_ENERGY dataflow.

3. `get_data_structure`

Get the Data Structure Definition (DSD) for a dataset.

Purpose: Understand dimensions, attributes, and me

Frequently Asked Questions

What are the key features of Ukrainian Statistics?

Access to official Ukrainian government statistics. Support for multiple statistical domains like energy, demographics, and trade. Bilingual support for Ukrainian and English. Flexible data filtering and querying. Comprehensive metadata exploration including dataflows and codelists.

What can I use Ukrainian Statistics for?

Researchers analyzing Ukrainian energy consumption trends over time.. Data analysts building reports based on official Ukrainian demographic statistics.. Economists tracking trade data provided by the State Statistics Service of Ukraine..

How do I install Ukrainian Statistics?

Install Ukrainian Statistics by running: npm install -g ukrainian-stats-mcp-server

What MCP clients work with Ukrainian Statistics?

Ukrainian Statistics works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep Ukrainian Statistics docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest