CareMan MCP

CareMan MCP

Read-only MCP server for CareMan Dienstplan that exposes REST API as tools for LLMs to query duty rosters, shift requests, vacant duties, and shift swaps.

Category
访问服务器

README

@jalibu/careman-mcp

Read-only MCP server for CareMan Dienstplan (opta data / SIEDA).
Exposes the CareMan REST API as MCP tools so LLMs can query duty rosters, shift requests, vacant duties, and shift swaps.


⚠️ Disclaimer

This is an unofficial, community-developed MCP server. It is not affiliated with, endorsed by, or in any way connected to CareMan or any other company behind the CareMan product. All product and company names are trademarks of their respective owners.

Use at your own risk. This project reverse-engineers an undocumented private API. It may break at any time without notice. The author accepts no liability for any damage, data loss, account suspension, or other consequences arising from its use.

Data privacy warning. CareMan contains sensitive personal and operational data (duty rosters, employee information, etc.). Whenever you use an MCP client that connects to a cloud-hosted AI model (e.g. Claude Desktop → Anthropic, ChatGPT, Gemini, …), your CareMan data will be transmitted to and processed on the AI provider's servers. This is likely incompatible with your organisation's data protection obligations (GDPR / DSGVO). The only way to keep data under your full control is to use a locally running, self-hosted AI model (e.g. Open WebUI + Ollama). You are solely responsible for compliance with applicable data protection laws.


Setup

Open WebUI + Ollama ✅ Recommended (privacy-friendly)

Open WebUI with a locally running Ollama model keeps all data on your own machine — nothing is sent to external servers.

Prerequisites: Open WebUI and Ollama must already be running locally.

  1. In Open WebUI, go to Settings → Tools → MCP Servers (or Admin Panel → Settings → Tools).
  2. Add a new MCP server entry:
    • Name: careman
    • Command: npx
    • Args: -y @jalibu/careman-mcp@latest
    • Environment variables:
      CAREMAN_URL=https://careman.mycompany.com
      CAREMAN_USERNAME=your-username
      CAREMAN_PASSWORD=your-password
      
  3. Save and reload. The CareMan tools are now available in your local chat.

Supported Ollama models with good tool-calling ability: qwen2.5:14b, llama3.1:8b, mistral-nemo.


Claude Desktop ⚠️ Cloud — data leaves your network

Privacy notice: Claude Desktop sends your conversations — including all data returned by CareMan — to Anthropic's cloud servers for inference. Only use this setup if you have reviewed and accepted the implications for your organisation's data protection policy.

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "careman": {
      "command": "npx",
      "args": ["-y", "@jalibu/careman-mcp@latest"],
      "env": {
        "CAREMAN_URL": "https://careman.mycompany.com",
        "CAREMAN_USERNAME": "your-username",
        "CAREMAN_PASSWORD": "your-password"
      }
    }
  }
}

Restart Claude Desktop. The tools become available immediately.

Environment variables

Variable Required Description
CAREMAN_URL Base URL of your CareMan instance
CAREMAN_USERNAME Your CareMan login name
CAREMAN_PASSWORD Your CareMan password

Tools

get_planungsgruppen

Lists all planning groups available for a given month.
Call this first to discover group IDs for get_abteilungsdienstplan.

get_planungsgruppen(year, month)
→ [{ name: "Group A", id: 100 }, { name: "Group B", id: 101 }, ...]

get_abteilungsdienstplan

Returns the full team duty roster for one planning group and month — every employee with their assigned duty codes per day.

get_abteilungsdienstplan(year, month, planningGroupId, planningGroupName?)
→ { data: { data: [{ item1: { name, id }, item2: { data: [...] } }], legendDuties, ... } }

Each day entry in item2.data:

  • day.date — UTC timestamp of local Berlin midnight
  • day.bankHolidayName — non-empty string if public holiday
  • shortName — duty code, e.g. "H31T", "H31N", "H51T"

Days without an assignment are omitted (sparse array).

get_rosters_preload

Returns personal roster data for one month — covers three areas in a single API call:

Einsatzwünsche (shift requests) — in rosterUrlaubEinsatzwunsch.data.data[0].item2.data[]:

  • einsatzwunsch: true flags days with a shift request
  • shortNameSollplan — requested duty code
  • genehmigt / beantragt — approval status

Vakante Dienste (vacant duties) — in vacantDutiesOccupied.data.duties[] and vacantDutiesAssumed.data.duties[]:

  • idVacantDuty — use with get_vakante_duty_details
  • duty, nameWorkstation, atDate, state, comment

Diensttausch (shift swaps) — in swapDutyOffersOffered.data.offers[] (incoming) and swapDutyOffersOwn.data.offers[] (own):

  • offerer, acceptor, dutiesOfferer, dutiesAcceptor
  • workstationsOfferer, planninggroupsOfferer
  • state, comment
get_rosters_preload(year, month)
→ { rosterUrlaubEinsatzwunsch, swapDutyOffersOffered, swapDutyOffersOwn,
    vacantDutiesOccupied, vacantDutiesAssumed, fehlzeiten }

get_vakante_duty_details

Returns full shift details for a single vacant duty entry.

get_vakante_duty_details(idVacantDuty)
→ { entries: [{ shortName, nameWorkplace, from, to, stringDuration, ... }] }

Architecture

   LLM
    │  MCP (stdio)
    ▼
CareMan MCP Server
    ├─ Session Manager  (auto-login, token cache, employeeId)
    ├─ get_planungsgruppen        → POST /api/-/vacant-duties/possible-planninggroups
    ├─ get_abteilungsdienstplan   → POST /api/-/team-duty/roster/{employeeId}
    ├─ get_rosters_preload        → POST /api/-/rosters/preload
    └─ get_vakante_duty_details   → GET  /api/-/vacant-duties/roster-details-id/{id}

Notes

Undocumented API. All endpoints were reverse-engineered from the minified CareMan JavaScript bundle and verified via browser network inspection. They may change with CareMan updates. If a tool starts returning errors after a CareMan upgrade, compare the request/response format in browser DevTools against the code in src/api.js.

Login format. The login request body uses { item1: username, item2: password } — a generic tuple wrapper pattern used throughout the CareMan codebase. If login fails, verify this against a live browser login via DevTools → Network → POST /api/-/auth/login.

Token lifetime. JWTs expire after roughly 8 hours. The server tracks expiry and re-logs in automatically.

Read-only. No tool submits, modifies, or deletes data. POST requests are used only where the API requires them for data retrieval (a common pattern in this codebase).

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选