Skip to main content
Sapient ships a Model Context Protocol (MCP) server and a CLI, both on npm. Point any agent at your sk_live_ key and it can scan video or audio and read the per-second brain response itself, with no glue code. Scans run on qualia, the default and only available model right now; mary is temporarily unavailable.

One-shot install (Claude Code)

A single command wires Sapient into Claude Code:
Open a new Claude Code session and ask it to scan a video. Get your sk_live_ key from Settings → API at thesapientcompany.com.
Paste your full key from Settings → API in place of sk_live_YOUR_KEY_HERE — never a truncated, display-only sk_live_… value. A key with an ellipsis () can’t go in an HTTP Authorization header, so every scan fails.

Already inside a Claude Code session?

If you’re chatting in Claude Code right now and don’t want to drop to a terminal, paste this prompt and let Claude install it for you:
Swap in your real sk_live_ key before sending. Claude will run the command, verify the server is connected, and report back, so you never leave the chat.

One-shot prompt (install and run a scan)

Drop this into Claude Code (or any MCP-capable agent) to install and run your first scan in one go. Fill in your key and a video URL:

CLI

Prefer a terminal? The CLI runs a scan and waits for the result:
Scans run on qualia by default — you don’t need to pass --model. (--model mary is temporarily unavailable.) Other commands: sapient get <scan_id>, sapient history, sapient intelligence -q "attention", sapient lenses.

Install in other tools

Sapient is a standard stdio MCP server, so it drops into any MCP-capable editor or agent. Each one is a single copy-paste. Pick yours:
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project), then reload:
Every tool runs the same command: npx -y @thesapientcompany/mcp with SAPIENT_API_KEY set. If your tool isn’t listed, use that command in its MCP config and it will work.

What the agent gets

It also exposes a resource, sapient://knowledge-base, with the full explanation of how the models work, the 7 networks, and how to read a scan, so the agent can ground its own interpretation.
The MCP server is a local stdio server: it runs on your machine and talks to the hosted Sapient API. Set SAPIENT_BASE_URL to point at a different API host.