About Estonia AI Kit
Estonia AI Kit is an MCP server published by stefanoamorelli in the Developer Tools category: ๐ช๐ช 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.
The repository has 81 stars and 9 forks, with the last commit 3 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/stefanoamorelli/estonia-ai-kitThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Estonia AI Kit
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 1 hours ago. Heuristics on the source, not an audit.
- โREADME presentThe repository ships documentation.
- โLicense declaredUsable under a stated license.
- โTests presentA test suite exists in the repository.
- โDependencies pinnedA lockfile pins dependency versions.
- โNo dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
๐ฐ Estonia AI Kit ๐ช๐ช
Photo by Ilya Orehov on Unsplash, modified with AI
[!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
| Package | Description | Type | Auth | Status |
|---|---|---|---|---|
@estonia-ai-kit/rik-mcp-server |
Estonian Business Register (RIK) | MCP Server | None | ๐ถ WIP |
@estonia-ai-kit/open-data-mcp-server |
Statistics Estonia / Open Data Portal | MCP Server | None | ๐ถ WIP |
cli/emta |
Tax & Customs Board (EMTA) - TSD declarations | CLI / Skill | Smart-ID | โ Working |
rag/riigiteataja |
Estonian Legal Document RAG pipeline | RAG | None | ๐ถ WIP |
@estonia-ai-kit/shared |
Shared utilities and types | Library | - | โ Ready |
๐ฆ Private Sector Services
| Package | Description | Type | Auth | Status |
|---|---|---|---|---|
cli/lhv |
LHV Bank - accounts, transactions, payments | CLI / Skill | Smart-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
# 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):
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:
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
# 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):
{
"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.
# 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
| Component | Technology | Purpose |
|---|---|---|
| MCP Servers | TypeScript, @modelcontextprotocol/sdk | AI assistant integration |
| CLI Tools / Skills | Go, Cobra | Terminal access and AI agent skills |
| API Clients | Axios, native fetch, net/http | HTTP/REST communication |
| Data Processing | CSV parsing, HTML parsing, JSON | Handle various data formats |
| Monorepo | Nx workspace | Consistent tooling and code sharing |
๐งโ๐ป Development
Prerequisites
- Node.js 20+ and Bun 1.0+ โ for MCP servers and TS packages
- Go 1.21+ โ for CLI tools
Setup
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
# 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
- ๐๏ธ e-Business Register - Official business registry portal
- ๐ผ EMTA (Tax & Customs) - Estonian Tax and Customs Board
- ๐ Open Data Portal - Estonian government open data
- ๐ X-Road - Estonian data exchange platform
- ๐ช๐ช e-Estonia - Digital society overview
- ๐ RIK Developer Portal - Business registry API documentation
๐ค 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.
README fetched from the repository 1 hours ago. The original is authoritative.