Aula MCP Server

Aula MCP Server

Enables Claude to access the Danish school communication platform Aula.dk, allowing users to ask about their child's school day, upcoming events, messages, and more, with real-time data and automatic translation from Danish.

Category
访问服务器

README

Aula MCP Server

An MCP (Model Context Protocol) server that gives Claude real-time access to Aula.dk — the Danish school communication platform. Ask Claude about your child's school day, upcoming events, messages from teachers, and more — all translated from Danish on the fly.

Prerequisites

  • Node.js 18+
  • Google Chrome installed (used for MitID authentication)
  • A MitID account linked to your child's Aula profile
  • Claude Desktop (Windows, macOS, or Linux)

Quick Start

Add this to your Claude Desktop config file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "aula": {
      "command": "npx",
      "args": ["-y", "@ilenhart/aula-mcp-server"],
      "env": {
        "BROWSER_EXECUTABLE_PATH": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
        "AULA_CHILD_NAME": "YourChildFirstName"
      }
    }
  }
}

Restart Claude Desktop. Then just ask Claude: "Log me into Aula" — a Chrome window will open for MitID authentication.

How Authentication Works

Aula.dk uses Denmark's MitID national 2FA system. There's no API key — you authenticate by scanning a QR code with the MitID phone app.

  1. Ask Claude to log into Aula
  2. A Chrome window opens with the Aula login page
  3. Click through to the MitID screen, enter your username, and scan the QR code with your MitID app
  4. The server detects the completed login, captures the session cookie, and closes the browser
  5. The session is kept alive automatically with background pings every 15 minutes

Sessions persist across Claude Desktop restarts (stored in ~/.aula-mcp/session.json). You only need to re-authenticate if the session expires (typically after server maintenance).

Available Tools

Authentication

Tool Description
aula_login Start MitID auth flow or confirm existing session
aula_check_auth Poll for completed QR scan (called automatically)
aula_session_status Check if current session is valid

School Data

Tool Description
aula_get_posts Recent school announcements and updates
aula_get_messages Recent messages from teachers and parents
aula_get_thread Full conversation thread by ID
aula_get_threads All active message threads
aula_get_calendar Calendar events with type filtering
aula_get_daily_overview Today's attendance status and notes
aula_get_gallery Recent photo albums and media
aula_find_people Search for parents, teachers, and staff
aula_get_meebook Weekly lesson plans and book lists

Configuration

All configuration is via environment variables, set in the "env" block of your Claude Desktop config.

Variable Required Default Description
BROWSER_EXECUTABLE_PATH Yes Path to Chrome executable
AULA_CHILD_NAME Yes Your child's first name (for profile selection)
AULA_INSTITUTION_NAME No (first found) School name (partial match)
AULA_API_URL No https://www.aula.dk/api/ Aula API base URL
PING_INTERVAL_MINUTES No 15 Session keepalive interval
AULA_DATA_DIR No ~/.aula-mcp/ Directory for session data

Common Chrome paths

  • Windows: C:\Program Files\Google\Chrome\Application\chrome.exe
  • macOS: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
  • Linux: /usr/bin/google-chrome

Example Conversations

You: What's happening at school this week?

Claude: Fetches posts, calendar events, and messages, translates from Danish, and gives you a summary

You: Are there any messages from the teacher I should respond to?

Claude: Checks recent message threads, identifies ones needing a reply

You: What does my child's schedule look like next week?

Claude: Pulls calendar events and MeeBook weekly plans

Development

If you want to contribute or run from source:

git clone https://github.com/ilenhart/aula-mcp-server.git
cd aula-mcp-server
npm install
npm run build

For local development with auto-reload:

npm run dev

To use the local version in Claude Desktop, update your config to point at the built file:

{
  "mcpServers": {
    "aula": {
      "command": "node",
      "args": ["C:/path/to/aula-mcp-server/dist/index.js"],
      "env": {
        "BROWSER_EXECUTABLE_PATH": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
        "AULA_CHILD_NAME": "YourChildFirstName"
      }
    }
  }
}

Troubleshooting

"No session stored" / "Session expired" Call aula_login to re-authenticate via MitID.

Chrome doesn't open Verify BROWSER_EXECUTABLE_PATH points to your actual Chrome installation. The path must be the full path to the executable, not just the directory.

"Failed to start login flow" Chrome may already be running with a conflicting profile. Try closing all Chrome windows first.

Session dies frequently The default 15-minute ping interval should keep sessions alive. If you're still losing sessions, try reducing PING_INTERVAL_MINUTES to 10.

How It Works

This server uses the @ilenhart/aula-apiclient-ts library to communicate with Aula's internal API. Authentication is handled via puppeteer-core (using your installed Chrome — no bundled browser) to capture the session cookie after MitID login.

All content from Aula is in Danish. Claude translates and interprets it conversationally when presenting it to you.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选