概要
What is Janus Analytics?
Janus Analytics MCP Server connects AI coding agents to Janus analytics, allowing querying of dashboard, events, funnels, and usage directly from MCP-compatible clients like Claude Code, Cursor, and Windsurf.
How to use Janus Analytics?
Obtain a Janus API key from addjanus.ca, then add the server to your MCP client using either claude mcp add janus -- npx -y @janus-analytics/mcp-server or by adding a JSON entry to your MCP config file. Set the JANUS_API_KEY environment variable to your key.
Key features of Janus Analytics
- All tools are read‑only — data is never modified
- Query event counts, visitors, top pages, and referrers
- Search event logs with filters for type, tags, and date range
- View current month usage vs. tier cap per API key
- List funnels and get per-step conversion rates
- Retrieve API key metadata: names, prefixes, last‑used dates
Use cases of Janus Analytics
- Check weekly traffic trends and top pages
- Analyze funnel conversion rates for signup journeys
- Monitor current month usage to avoid hitting limits
- Identify which API key is receiving the most events
- Search event logs by type, tags, or date range
FAQ from Janus Analytics
What data can I access through this server?
You can access dashboard stats, event logs, usage metrics, funnel definitions and results, and API key details — all read‑only.
How do I install the server?
Add it to your MCP client via npx -y @janus-analytics/mcp-server using the command line or by editing your client’s MCP config file.
Which MCP clients are supported?
Claude Code, Claude Desktop, Cursor, and Windsurf are explicitly mentioned.
What is required to use the server?
A Janus API key (starts with jns_) set as the JANUS_API_KEY environment variable.
Where is the config file located for each client?
Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows); Cursor: Settings > MCP Servers; Windsurf: ~/.windsurf/mcp.json.
