Nefesh MCP Server
A Model Context Protocol server that gives AI agents real-time awareness of human physiological state — stress level, confidence, and behavioral adaptation prompts.
What it does
Your AI agent sends sensor data (heart rate, voice, video, text) via the Nefesh API. The MCP server returns a unified stress score (0–100), a state label (Calm → Acute Stress), and an adaptation prompt that tells the agent how to adjust its behavior.
Signals supported: cardiovascular (HR, HRV, RR intervals), vocal (pitch, jitter, shimmer), visual (facial action units), textual (sentiment, keywords)
Setup
1. Get an API key
Get your key at nefesh.ai/pricing ($25/month, 50,000 calls).
2. Add to your AI agent
Find your agent's MCP config file:
Agent | Config file |
Cursor |
|
Windsurf |
|
Claude Desktop |
|
Claude Code |
|
VS Code (Copilot) |
|
Cline |
|
Continue.dev |
|
Roo Code |
|
Amazon Q |
|
JetBrains IDEs | Settings → Tools → MCP Server |
Zed |
|
OpenAI Codex CLI |
|
Goose CLI |
|
ChatGPT Desktop | Settings → Apps → Add MCP Server (UI) |
Gemini CLI | Settings (UI) |
Augment | Settings Panel (UI) |
Replit | Integrations Page (web UI) |
LibreChat |
|
Add the following configuration (works with most agents):
{
"mcpServers": {
"nefesh": {
"url": "https://mcp.nefesh.ai/mcp",
"headers": {
"X-Nefesh-Key": "<YOUR_API_KEY>"
}
}
}
}{
"servers": {
"nefesh": {
"type": "http",
"url": "https://mcp.nefesh.ai/mcp",
"headers": {
"X-Nefesh-Key": "<YOUR_API_KEY>"
}
}
}
}{
"context_servers": {
"nefesh": {
"settings": {
"url": "https://mcp.nefesh.ai/mcp",
"headers": {
"X-Nefesh-Key": "<YOUR_API_KEY>"
}
}
}
}
}[mcp_servers.nefesh]
url = "https://mcp.nefesh.ai/mcp"mcpServers:
- name: nefesh
type: streamable-http
url: https://mcp.nefesh.ai/mcpAll agents connect via Streamable HTTP — no local installation required.
Tools
Tool | Description |
| Send raw sensor data. Returns unified stress score + state + adaptation prompt. |
| Get current physiological state for a session. |
| Get state history over time for a session. |
| GDPR-compliant deletion of all data for a subject. |
Quick test
After adding the config, ask your AI agent:
"What tools do you have from Nefesh?"
It should list the tools above.
State labels
Score | State |
0–19 | Calm |
20–39 | Relaxed |
40–59 | Focused |
60–79 | Stressed |
80–100 | Acute Stress |
Documentation
Privacy
No video uploads — edge processing runs client-side
No PII stored — strict schema validation
GDPR/BIPA compliant — cascading deletion via
delete_subjectNot a medical device — for contextual AI adaptation only
License
Proprietary. See nefesh.ai/terms.