Estonia AI Kit logo

Estonia AI Kit

Community
stefanoamorelli

🇪🇪 Open-source AI SDK for Estonian government and private services. MCP servers and skills. Connect Claude, GPT, agents and models, to Estonia's digital infrastructure.

Publisherstefanoamorelli
Repositoryestonia-ai-kit
LanguageTypeScript
Forks
8
Stars
80
Available tools
0
Transport typestdio
Categories
LicenseAGPL-3.0
Links
  • Connect tools to AI workflows

    Estonia AI Kit exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    80 stars and 8 forks from the linked repository.

🏰 Estonia AI Kit 🇪🇪

Estonia AI Kit

Photo by Ilya Orehov on Unsplash, modified with AI

License: AGPL v3 TypeScript Go Claude Desktop VS Code Nx PRs Welcome

[!NOTE] This is a community-driven open source project and is not affiliated with, endorsed by, or connected to the Estonian government or any official Estonian institutions.

🌍 The Estonian Digital Revolution

Picture this: A country where 99% of government services are online. Where you can establish a company in 18 minutes. Where blockchain secures healthcare records, and every citizen has a digital identity that works seamlessly across all services. This isn't science fiction—this is Estonia today.

Since the early 1990s, Estonia has transformed itself into one of the world's most digitally advanced societies. Starting fresh with modern infrastructure and forward-thinking policies, the country built its services digital-first from the ground up. Today, Estonia stands as a model for digital governance:

  • 3 minutes to file taxes online (with 98% of citizens doing so) 1
  • 2% of GDP saved annually through digital governance 2
  • 120,000+ e-Residents from 170+ countries running EU companies remotely 3
  • 99.9% of banking transactions happen online 4
  • X-Road data exchange platform processes 900+ million transactions yearly 5

📖 What is Estonia AI Kit?

Estonia AI Kit connects your AI applications directly to Estonian government services, open data, and digital infrastructure. It includes MCP servers for AI integration, CLI tools for direct terminal access, and skills for AI coding agents (like Claude Code) to interact with authenticated services.

🎯 What is MCP?

Model Context Protocol (MCP) is an open protocol that standardizes how AI applications connect with external data sources and tools. Estonia AI Kit implements MCP servers for various Estonian services, making them accessible to AI models like Claude, GPT, and others.

📦 What's Included

This toolkit covers government services (tax, business registry, legal data, statistics) and private sector services (banking). Some require personal authentication via Smart-ID/ID-card.

🏛️ Government Services

PackageDescriptionTypeAuthStatus
@estonia-ai-kit/rik-mcp-serverEstonian Business Register (RIK)MCP ServerNone🔶 WIP
@estonia-ai-kit/open-data-mcp-serverStatistics Estonia / Open Data PortalMCP ServerNone🔶 WIP
cli/emtaTax & Customs Board (EMTA) - TSD declarationsCLI / SkillSmart-ID✅ Working
rag/riigiteatajaEstonian Legal Document RAG pipelineRAGNone🔶 WIP
@estonia-ai-kit/sharedShared utilities and typesLibrary-✅ Ready

🏦 Private Sector Services

PackageDescriptionTypeAuthStatus
cli/lhvLHV Bank - accounts, transactions, paymentsCLI / SkillSmart-ID✅ Working

[!IMPORTANT] CLI tools that require authentication (Smart-ID, ID-card) authenticate as you and access your data. Sessions expire after ~30 minutes.

🚀 Quick Start

CLI Tools / Skills

bash
# Install the EMTA CLI
go install github.com/stefanoamorelli/estonia-ai-kit/cli/emta@latest

# Install the LHV CLI
go install github.com/stefanoamorelli/estonia-ai-kit/cli/lhv@latest

EMTA (Tax & Customs):

bash
emta login                     # Login via Smart-ID QR code
emta tsd list                  # List your TSD declarations
emta tsd show <declaration-id> # Show declaration details

LHV Bank:

bash
lhv auth --interactive             # Authenticate via Smart-ID
lhv get-accounts                   # List accounts
lhv get-transactions               # View transactions
lhv pay --help                     # SEPA payment options

MCP Servers

bash
# Install dependencies
bun install

# Build all packages
bun run build

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

json
{
  "mcpServers": {
    "estonia-rik": {
      "command": "node",
      "args": ["/path/to/estonia-ai-kit/mcp/rik/dist/index.js"]
    },
    "estonia-open-data": {
      "command": "node",
      "args": ["/path/to/estonia-ai-kit/mcp/open-data/dist/index.js"]
    }
  }
}

Claude Code Plugins

This repository includes a Claude Code plugin marketplace with ready-to-use skills for AI-assisted workflows.

bash
# Add the marketplace (one-time setup)
/plugin marketplace add stefanoamorelli/estonia-ai-kit

# Install a plugin (e.g., LHV Bank or EMTA)
/plugin install lhv@estonia-ai-kit
/plugin install emta@estonia-ai-kit

Each plugin bundles a skill file that teaches Claude Code how to use the corresponding CLI tool. The CLI binary must be installed separately (see Quick Start above).

🛠️ Project Structure

estonia-ai-kit/
├── cli/                       # CLI tools / skills (authenticated services)
│   ├── emta/                  # EMTA Tax & Customs CLI (Go)
│   └── lhv/                   # LHV Bank CLI (Go)
├── mcp/                       # MCP servers
│   ├── rik/                   # Business Register
│   └── open-data/             # Statistics Estonia
├── plugins/                   # Claude Code plugin marketplace
│   ├── emta/                  # EMTA plugin + skill
│   └── lhv/                   # LHV plugin + skill
├── packages/                  # Shared TypeScript libraries
│   ├── shared/                # Common utilities
│   └── riigiteataja-api-client/
├── rag/                       # RAG pipelines
│   └── riigiteataja/          # Legal documents
└── tests/                     # E2E tests

⚡ Technical Stack

ComponentTechnologyPurpose
MCP ServersTypeScript, @modelcontextprotocol/sdkAI assistant integration
CLI Tools / SkillsGo, CobraTerminal access and AI agent skills
API ClientsAxios, native fetch, net/httpHTTP/REST communication
Data ProcessingCSV parsing, HTML parsing, JSONHandle various data formats
MonorepoNx workspaceConsistent tooling and code sharing

🧑‍💻 Development

Prerequisites

Setup

bash
git clone https://github.com/stefanoamorelli/estonia-ai-kit.git
cd estonia-ai-kit

# TypeScript packages
bun install
bun run build

# Go CLI tools
cd cli/emta && go build -o emta .
cd cli/lhv && make install

Testing

bash
# TypeScript packages
bun run test
npx nx test rik-mcp-server
npx nx test open-data-mcp-server
npx nx test shared

🔗 Estonian Government Resources

🤝 Contributing

PRs and issues welcome.

Fork → Branch → Commit → Push → PR

⚖️ 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 stefano@amorelli.tech.


Installation

TypingMind
{
  "mcpServers": {
    "estonia-ai-kit": {
      "command": "emta-cli",
      "args": [
        "login"
      ]
    }
  }
}

Use Estonia AI Kit MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Estonia AI Kit is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Estonia AI Kit as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Estonia AI Kit MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "estonia-ai-kit": {
      "command": "npx",
      "args": [
        "-y",
        "estonia-ai-kit"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Estonia AI Kit MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Estonia AI Kit MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Estonia AI Kit to help me with this task?
Estonia AI Kit
Sure. I read it.
Here is what I found using Estonia AI Kit.

Frequently asked questions

What is the Estonia AI Kit MCP server used for?

Estonia AI Kit is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Estonia AI Kit MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Estonia AI Kit with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Estonia AI Kit MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Estonia AI Kit connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Estonia AI Kit MCP to TypingMind?

Estonia AI Kit runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Estonia AI Kit MCP provide in TypingMind?

Estonia AI Kit exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Estonia AI Kit MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Estonia AI Kit requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇