# Kazakhstan Open Data (data.egov.kz)

> Kazakhstan Open Data (data.egov.kz) is an open-source MCP server for public data. MCP server giving AI assistants search access to Kazakhstan's government open datasets. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, Web
- **Repository:** https://github.com/almatulymiras688-lgtm/kz-opendata-mcp
- **MCP Registry name:** io.github.almatulymiras688-lgtm/kz-opendata-mcp
- **Categories:** [public data](https://ai-powered.com/categories/public-data)
- **Listing updated:** 2026-11-28

## About

Kazakhstan's national open data portal holds roughly 4,000 public datasets covering schools, hospitals, pharmacies, budgets, prices and regions. This MCP server lets an AI assistant search that catalogue in Russian, Kazakh or English, read dataset metadata and field labels, and pull rows with filters.

The assistant can also aggregate results such as counts, sums, averages and minimums or maximums, optionally grouped by a field. Numbers stored as text on the portal are parsed before calculation. Large result sets are capped at 20,000 rows and flagged when truncated.

It suits analysts, journalists, researchers and developers who want to query Kazakh public data through a chat interface instead of navigating the portal by hand. It runs locally over stdio or as a remote HTTP endpoint and needs no API key.

## Features

- **Catalogue search:** Finds datasets by keyword in Russian, Kazakh or English and returns ids, titles, descriptions and tags.
- **Field label lookup:** Shows human-readable labels for opaque portal field names, in Kazakh, Russian and English.
- **Filtered row queries:** Reads rows with field filters, free-text search, paging, sorting and field selection.
- **Local aggregation:** Computes count, sum, average, minimum and maximum, with optional grouping by field.
- **Remote HTTP mode:** Runs as a web service for clients such as claude.ai and ChatGPT developer mode.

## Good for

- Counting schools or hospitals by region or type
- Comparing district-level figures from public datasets
- Finding which agency publishes a dataset and when it was last updated
- Searching government price or budget data for a research question
- Building a quick data check before writing an article or report

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add kz-opendata-mcp -- uvx kz-opendata-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add kz-opendata-mcp -- uvx kz-opendata-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.kz-opendata-mcp]
command = "uvx"
args = ["kz-opendata-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user kz-opendata-mcp uvx -- kz-opendata-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "kz-opendata-mcp": {
      "command": "uvx",
      "args": [
        "kz-opendata-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 4 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `search_datasets` (name suggests: reads): Searches the catalogue by keywords and returns dataset ids, titles, descriptions and tags.
- `get_dataset_info` (name suggests: reads): Returns title, description, owner agency, update date, versions, row count and field labels.
- `query_dataset` (name suggests: reads): Reads rows with field filters, free-text search, paging, sorting and field selection.
- `aggregate_dataset`: Computes count, sum, avg, min or max, optionally grouped by a field.

## FAQ

### Does Kazakhstan Open Data (data.egov.kz) need an API key?

No. The server uses the portal's public endpoints, so no key is required.

### How do I install Kazakhstan Open Data (data.egov.kz)?

It installs with uvx for Claude Desktop, Claude Code or Cursor, or runs as a remote HTTP server. The README gives config snippets for each client.

### Are results capped?

Aggregation reads up to 20,000 matching rows and reports truncated: true if more matched.

### Is the data current?

Not always. Many datasets have not been updated for years, and the modified field in dataset info shows the last change date.

### Is Kazakhstan Open Data (data.egov.kz) free?

Yes. Kazakhstan Open Data (data.egov.kz) is open source, so you can use and self-host it for free.

### How do I add Kazakhstan Open Data (data.egov.kz) to Claude Code?

Run this command in your terminal: claude mcp add kz-opendata-mcp -- uvx kz-opendata-mcp

### What are the best alternatives to Kazakhstan Open Data (data.egov.kz)?

The closest alternatives to Kazakhstan Open Data (data.egov.kz) are Podziemie Analityczne, Datasaudi MCP, Opendata Cat, Zurich Opendata MCP and Lithuanian Data Portal documentation.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Podziemie Analityczne](https://ai-powered.com/mcp/podziemie-analityczne): Podziemie Analityczne is a free MCP server for public data.
- [Datasaudi MCP](https://ai-powered.com/mcp/datasaudi-mcp): Datasaudi MCP is an open-source MCP server for public data.
- [Opendata Cat](https://ai-powered.com/mcp/opendata-cat): Opendata Cat is an open-source MCP server for public data.
- [Zurich Opendata MCP](https://ai-powered.com/mcp/zurich-opendata-mcp): Zurich Opendata MCP is an open-source MCP server for public data.
- [Lithuanian Data Portal documentation](https://ai-powered.com/mcp/lithuanian-data-portal-documentation): Lithuanian Data Portal documentation is a free MCP server for public data.
- [Service Public France](https://ai-powered.com/mcp/service-public-france): Service Public France is an open-source MCP server for public data.
- [DataScoop public data](https://ai-powered.com/mcp/datascoop-public-data): DataScoop public data is a freemium MCP server for legal and government.
- [AgentNative: Public Data, Government Datasets, Federal Statistics & Official Records](https://ai-powered.com/mcp/agentnative-public-data-government-datasets-federal-statisti): AgentNative: Public Data, Government Datasets, Federal Statistics & Official Records is a freemium MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/kazakhstan-open-data-data-egov-kz
