nefesh-mcp-server
Real-time human state awareness for AI agents. Fuses cardiovascular, vocal, visual, and textual signals into a unified stress score (0-100). Streamable HTTP transport with 4 tools: ingest_signal, get_human_state, get_history, delete_subject.
README
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 | ~/.cursor/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Code | .mcp.json (project root) |
| VS Code (Copilot) | .vscode/mcp.json or ~/Library/Application Support/Code/User/mcp.json |
| Cline | cline_mcp_settings.json (via UI: "Configure MCP Servers") |
| Continue.dev | .continue/config.yaml |
| Roo Code | .roo/mcp.json |
| Amazon Q | ~/.aws/amazonq/mcp.json |
| JetBrains IDEs | Settings → Tools → MCP Server |
| Zed | ~/.config/zed/settings.json (uses context_servers) |
| OpenAI Codex CLI | ~/.codex/config.toml |
| Goose CLI | ~/.config/goose/config.yaml |
| ChatGPT Desktop | Settings → Apps → Add MCP Server (UI) |
| Gemini CLI | Settings (UI) |
| Augment | Settings Panel (UI) |
| Replit | Integrations Page (web UI) |
| LibreChat | librechat.yaml (self-hosted) |
Add the following configuration (works with most agents):
{
"mcpServers": {
"nefesh": {
"url": "https://mcp.nefesh.ai/mcp",
"headers": {
"X-Nefesh-Key": "<YOUR_API_KEY>"
}
}
}
}
<details> <summary><strong>VS Code (Copilot)</strong> — uses <code>servers</code> instead of <code>mcpServers</code></summary>
{
"servers": {
"nefesh": {
"type": "http",
"url": "https://mcp.nefesh.ai/mcp",
"headers": {
"X-Nefesh-Key": "<YOUR_API_KEY>"
}
}
}
}
</details>
<details> <summary><strong>Zed</strong> — uses <code>context_servers</code> in settings.json</summary>
{
"context_servers": {
"nefesh": {
"settings": {
"url": "https://mcp.nefesh.ai/mcp",
"headers": {
"X-Nefesh-Key": "<YOUR_API_KEY>"
}
}
}
}
}
</details>
<details> <summary><strong>OpenAI Codex CLI</strong> — uses TOML in <code>~/.codex/config.toml</code></summary>
[mcp_servers.nefesh]
url = "https://mcp.nefesh.ai/mcp"
</details>
<details> <summary><strong>Continue.dev</strong> — uses YAML in <code>.continue/config.yaml</code></summary>
mcpServers:
- name: nefesh
type: streamable-http
url: https://mcp.nefesh.ai/mcp
</details>
All agents connect via Streamable HTTP — no local installation required.
Tools
| Tool | Description |
|---|---|
ingest_signal |
Send raw sensor data. Returns unified stress score + state + adaptation prompt. |
get_state |
Get current physiological state for a session. |
get_history |
Get state history over time for a session. |
delete_subject |
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_subject - Not a medical device — for contextual AI adaptation only
License
Proprietary. See nefesh.ai/terms.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.