Logo Estonia AI Kit

Estonia AI Kit

Cộng đồng
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.

Nhà phát hànhstefanoamorelli
Kho mãestonia-ai-kit
Ngôn ngữTypeScript
Bản fork
8
Sao
80
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépAGPL-3.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Estonia AI Kit cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    80 sao và 8 bản fork từ kho mã được liên kết.

🏰 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.


Cài đặt

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

Dùng MCP Estonia AI Kit với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Estonia AI Kit, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Estonia AI Kit làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Estonia AI Kit.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "estonia-ai-kit": {
      "command": "npx",
      "args": [
        "-y",
        "estonia-ai-kit"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Estonia AI Kit, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Estonia AI Kit.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Estonia AI Kit giúp tôi làm việc này không?
Estonia AI Kit
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Estonia AI Kit.

Câu hỏi thường gặp

Máy chủ MCP Estonia AI Kit dùng để làm gì?

Estonia AI Kit là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Estonia AI Kit với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Estonia AI Kit với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Estonia AI Kit với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Estonia AI Kit, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Estonia AI Kit với TypingMind?

Estonia AI Kit hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Estonia AI Kit cung cấp những công cụ nào trong TypingMind?

Estonia AI Kit cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Estonia AI Kit không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Estonia AI Kit yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇