https://crispstats.com/api/mcp and speaks Streamable HTTP. Most clients connect to it directly, either by signing in or with an API key. Some clients, and older versions of others, can only start a local program and talk to it over standard input and output (stdio). For those, run mcp-remote: a small open-source bridge that the client starts like any local server, and that forwards every message to the remote server.
mcp-remote is a third-party package, not part of CrispStats. It needs Node.js 18 or later on the machine that runs the client.
Before you start
Create a secret key under API keys on the API and MCP page. The Read only preset is enough to ask questions; tick Visitor details only if the assistant should read visitor profiles. See authentication for every permission.Add the server
Add an entry like this to the client’s MCP configuration, for exampleclaude_desktop_config.json for Claude Desktop, and put your key in CRISPSTATS_AUTH:
env and is referenced from args because some clients split arguments on spaces, which would break Bearer cs_sk_… in two. Write Authorization:${CRISPSTATS_AUTH} with no space after the colon.
Restart the client. It starts the bridge, and the CrispStats tools appear in its tool list. Try asking which pages got the most visitors in the last 7 days.
Try it with the demo site
To test the bridge before you create a key, connect to the demo site, which needs no key:When it does not connect
The client’s MCP log shows what the bridge printed; in Claude Desktop it is under Settings, Developer.
Next steps
MCP server reference
Tools, prompts, limits and errors.
Connect with sign-in
Clients that support remote servers need no key at all.
API keys
Create, limit and rotate keys.