io.github.lewo-media/safe-mind
Psychological risk assessments (GBU Psyche) via Safe Mind: surveys, departments, analytics.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
safe-mind-mcpclaude mcp add safe-mind -e 'SAFE_MIND_API_KEY=<your safe_mind_api_key>' -- npx -y safe-mind-mcp@0.1.2
{
"mcpServers": {
"safe-mind": {
"command": "npx",
"args": [
"-y",
"safe-mind-mcp@0.1.2"
],
"env": {
"SAFE_MIND_API_KEY": "<your safe_mind_api_key>"
}
}
}
}
Environment variables
SAFE_MIND_API_KEYsecret Safe Mind API key (sm_live_...). Optional - the safe_mind_register and safe_mind_get_api_key tools can onboard a new account without it.
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Safe Mind Developer Tools
Official CLI and MCP server for Safe Mind - the platform for the legally required psychological risk assessment (Gefährdungsbeurteilung psychischer Belastung, GBU Psyche) in Germany.
| Package | npm | Purpose |
|---|---|---|
cli/ | safe-mind | Terminal client for the Safe Mind Public API v1 |
mcp/ | safe-mind-mcp | MCP server for AI assistants (Claude, ChatGPT, Gemini, Cursor, ...) |
Quick start
npm install -g safe-mind
safe-mind login --email you@example.com --password '...'
safe-mind surveys create --start 2026-10-01 --weeks 4 --employees 220 \
--department "Produktion" --department "Verwaltung"
MCP (any MCP client):
{
"mcpServers": {
"safe-mind": {
"command": "npx",
"args": ["-y", "safe-mind-mcp"],
"env": { "SAFE_MIND_API_KEY": "sm_live_..." }
}
}
}
Documentation
- API reference and examples: https://www.safe-mind.de/developers
- Anonymity: analytics endpoints only return aggregated results; groups below the minimum group size are filtered server-side.
License
MIT
Frequently asked questions
What is io.github.lewo-media/safe-mind?
Psychological risk assessments (GBU Psyche) via Safe Mind: surveys, departments, analytics.
How do I install io.github.lewo-media/safe-mind?
It runs on your machine. In Claude Code: claude mcp add safe-mind -e 'SAFE_MIND_API_KEY=<your safe_mind_api_key>' -- npx -y safe-mind-mcp@0.1.2. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.lewo-media/safe-mind need an API key?
Yes. It expects SAFE_MIND_API_KEY, which you set in its configuration.
Is io.github.lewo-media/safe-mind open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.lewo-media/safe-mind?
It is published by lewo-media. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.