npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@estonia-ai-kit/open-data-mcp-server

v1.2.0

Published

MCP server for Estonian Open Data Portal (andmed.eesti.ee)

Readme

@estonia-ai-kit/open-data-mcp-server

Estonian Open Data Portal MCP Server

Access 2,000+ government datasets through Estonia's Open Data Portal API with built-in caching, streaming, and format conversion.

[!NOTE] Part of the Estonia AI Kit monorepo - The Digital Nation's AI Toolkit

[!IMPORTANT] This package provides real data access to Statistics Estonia (andmed.stat.ee) API with access to 3,000+ statistical tables.

Currently Supported:

  • Statistics Estonia API: Official Estonian statistics database
  • 📊 Population, economic indicators, demographics, and more
  • 🎯 No authentication required for public data
  • 📈 Real-time access to government statistical data

Working Features:

  • Population statistics by year and demographic groups
  • Economic indicators (GDP, unemployment, wages)
  • Browse statistical categories and tables
  • Query specific statistical tables with filters
  • Format and export statistical data

Note: Currently only Statistics Estonia (andmed.stat.ee) is implemented. Support for additional Estonian open data sources is welcome - PRs are encouraged!

API Documentation:

  • Statistics Estonia: https://andmed.stat.ee/help/api-manual.pdf

Dataset Coverage

| Category | Datasets | Formats | Update Freq | | ------------ | -------- | -------------- | ------------ | | Demographics | 450+ | CSV, JSON, XML | Monthly | | Economics | 380+ | CSV, XLSX, API | Daily/Weekly | | Environment | 290+ | GeoJSON, SHP | Real-time | | Transport | 180+ | GTFS, JSON | Real-time | | Health | 220+ | CSV, JSON | Weekly | | Education | 150+ | CSV, XLSX | Yearly |

Quick Start

# Install
bun add @estonia-ai-kit/open-data-mcp-server

# Configure in Claude Desktop
{
  "mcpServers": {
    "estonia-open-data": {
      "command": "bunx",
      "args": ["@estonia-ai-kit/open-data-mcp-server"]
    }
  }
}

Streaming Large Datasets

interface DataTools {
  // Search & Discovery
  searchDatasets(params: {
    query?: string;
    category?: Category;
    format?: Format;
    organization?: string;
  }): Dataset[];

  // Data Access
  getDataset(id: string): DatasetMetadata;

  streamData(params: {
    datasetId: string;
    format?: 'csv' | 'json' | 'parquet';
    filters?: Record<string, any>;
    limit?: number;
  }): AsyncIterator<DataChunk>;

  // Analytics
  getStatistics(datasetId: string): DatasetStats;
  getTimeSeries(params: { datasetId: string; metric: string; period: Period }): TimeSeriesData;
}

Optimization Features

const optimizations = {
  streaming: {
    chunk_size: '10MB',
    backpressure: true,
    parallel_downloads: 4,
  },
  caching: {
    strategy: 'LRU',
    max_size: '500MB',
    ttl: '6 hours',
  },
  compression: {
    gzip: true,
    brotli: true,
    ratio: '10:1 avg',
  },
  formats: {
    auto_convert: true,
    supported: ['csv', 'json', 'parquet', 'arrow'],
  },
};

Popular Datasets

| Dataset | Records | Use Case | | ------------------------ | --------------- | --------------------- | | Population Register | 1.3M | Demographics analysis | | Business Register | 300K | Market research | | Real Estate Transactions | 500K/year | Property analytics | | Traffic Flow | Real-time | Transport planning | | Air Quality | 24/7 monitoring | Environmental studies |

API Endpoints

  • Catalog: https://andmed.eesti.ee/api/v1/
  • SPARQL: https://andmed.eesti.ee/sparql
  • GeoServer: https://andmed.eesti.ee/geoserver
  • Real-time: WebSocket connections available

📦 Part of Estonia AI Kit

This package is part of the Estonia AI Kit monorepo. For complete documentation, contributing guidelines, and additional tools, visit the main repository.

⚖️ License

This open-source project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). This means:

  • ✅ You can use, modify, and distribute this software
  • ✅ If you modify and distribute it, you must release your changes under AGPL-3.0
  • ✅ If you run a modified version on a server, you must provide the source code to users
  • 📄 See the LICENSE file for full details

For commercial licensing options or other licensing inquiries, please contact [email protected].

Note: Datasets accessed through this server are provided under various open licenses (CC0, CC-BY, etc.) by the Estonian government.