MCP Server
What it does
The TokenEyez MCP server runs locally as a subprocess of your AI client and speaks the Model Context Protocol. It exposes 5 tools, 2 resources, and 2 slash-prompts so you can ask your assistant questions like:
Supported clients
Any MCP-compatible client that can spawn a stdio subprocess will work — these are just the three we've tested end-to-end.
Install
-
Install the MCP package
Run this in your terminal — it pulls the latest published build from npm:
npm install -g @tokeneyez/mcp -
Sign in
This stores a session token locally so the MCP server can talk to your TokenEyez account:
tokeneyez loginYou'll be prompted for your TokenEyez email + password (the same ones you use for the extension).
-
Wire it up to your AI client
Claude Desktop — edit
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows):{ "mcpServers": { "tokeneyez": { "command": "tokeneyez-mcp" } } }Cursor — Settings → MCP → Add new server, point at
tokeneyez-mcp.Cline — open the MCP Servers panel and add
tokeneyez-mcpas a stdio server. -
Restart your client
Restart Claude Desktop (or your IDE) so it picks up the new server. You'll see TokenEyez tools appear in the chat's tool list.
-
Try it
Ask your assistant something like "What's my AI spend this month?" — it should call
get_dashboard_summaryand reply with your real numbers.
Available tools
Resources & prompts
The server also exposes two read-only JSON resources — tokeneyez://dashboard and tokeneyez://savings — and two slash-prompt templates: analyze_my_spend and show_savings. Most clients surface these as autocomplete options once the server is connected.
Privacy
The MCP server reads only the same numeric metadata the extension already records — token counts, model names, cost estimates, timestamps. No prompt or response content ever leaves your device through MCP. See the full Privacy Policy.
Troubleshooting
"Not signed in" in the chat
Run tokeneyez login again. The session refreshes itself, but if you cleared local data the server will need fresh credentials.
"TokenEyez MCP requires a Pro subscription"
Your current tier is below Pro. The MCP server intentionally returns this message instead of failing silently. Upgrade here and the next tool call will work — no restart needed (the server re-checks your tier every five minutes).
The server starts but no tools appear
Most likely the client config points at a binary it can't find. Run which tokeneyez-mcp (macOS/Linux) or where tokeneyez-mcp (Windows) and use the absolute path in the config's "command" field.
Still stuck?
Email tokeneyezofficial@gmail.com with "MCP" in the subject and we'll respond within 1 business day.