StatsRaven
Self-hosted analytics exposed over MCP so Claude, Cursor or VS Code can query your data
StatsRaven is an MCP server for analytics and data. It runs as a hosted remote server, so there is nothing to install locally.
- Platforms
- Web, API, Self-hosted
- Runs
- Remotely
- What it can do
- Can change data (3 tools)
- Version
- 0.2.10
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add statsraven -- docker run -i --rm ghcr.io/umutgokbayrak/statsraven:0.2.10Add --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"statsraven": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/umutgokbayrak/statsraven:0.2.10"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"statsraven": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/umutgokbayrak/statsraven:0.2.10"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"statsraven": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/umutgokbayrak/statsraven:0.2.10"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"statsraven": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/umutgokbayrak/statsraven:0.2.10"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add statsraven -- docker run -i --rm ghcr.io/umutgokbayrak/statsraven:0.2.10Or add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.statsraven]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"statsraven": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/umutgokbayrak/statsraven:0.2.10"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }Or run: gemini mcp add -s user statsraven docker -- run -i --rm ghcr.io/umutgokbayrak/statsraven:0.2.10
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "statsraven": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/umutgokbayrak/statsraven:0.2.10" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About StatsRaven
Instead of opening a dashboard, you can put your event, log and website numbers into an AI client and ask follow-up questions in plain language. StatsRaven runs its own MCP endpoint at a path on your installation, and clients such as Claude, Claude Code, Cursor and VS Code connect to it over HTTP.
The server exposes tools for reading projects and their schemas, running grouped queries, read-only SQL, website traffic reports, funnels, log search and live visitor counts. Charts can be shown inside the conversation or pinned to a project sheet. Write actions such as saving business facts, labelling log patterns and creating alerts are kept separate from the read-only tools.
Access is controlled by admin-issued tokens or by OAuth approval from a signed-in admin, and every tool call is recorded in a change log. It suits teams that want to keep their analytics on infrastructure they control and query them from the chat tools they already use.
Tools this server provides (16)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 16 tools change data; 8 names don't say.
From the server's own tool labels and tool names; not verified by us.
- get_schemaName suggests: reads
- Projects, sources, fields, named patterns and taught facts. Clients call it first.
- run_queryName suggests: changes
- Counts, sums, averages and percentiles grouped and filtered, with the SQL that ran.
- web_report
- Website overview numbers including visitors, pages, channels, campaigns, places, devices, goals and revenue.
- online_now
- Shows who is on your sites right now.
- funnel
- Funnels of pages and events.
- funnel_dropoff
- Shows where visits went when they left a funnel step.
- run_sqlName suggests: changes
- One read-only SQL query, up to 500 rows.
- compare_browser_traffic
- Compares server requests against snippet page views to find bots and scrapers.
- search_logsName suggests: reads
- Log text search with IP addresses and emails masked.
- get_samplesName suggests: reads
- Example log records with IP addresses and emails masked.
- show_chartName suggests: reads
- Shows a chart in the conversation in clients that support MCP Apps.
- pin_chart
- Pins a chart to the project's sheet.
- list_unlabeled_patternsName suggests: reads
- Lists log patterns without a name.
- label_patterns
- Saves names for log patterns.
- save_fact
- Saves a fact about the business to Teach.
- create_alertName suggests: changes
- Creates an alert; needs the Alerts add-on to run, otherwise it stays a draft.
What it does
- Chat-based data queries
- Ask questions about events, logs and traffic from an MCP client and get counts, sums, averages and percentiles.
- Website traffic reports
- Pull visitors, pages, channels, campaigns, devices, goals and revenue from the overview numbers.
- Funnels and drop-off analysis
- Inspect funnels of pages and events and see where visits went when they left a step.
- Log search with masking
- Search log text and sample records, with IP addresses and email addresses masked.
- Bot detection
- Compare server requests with snippet page views to spot bots and scrapers.
- Charts and pinned sheets
- Show charts inside the conversation in supporting clients or pin them to a project sheet.
- Token and OAuth access
- Connect with an admin token or sign in with OAuth, with connected apps listed for disconnection.
Good for
- Asking follow-up questions about website traffic without building a new dashboard
- Finding which funnel step loses the most visitors
- Spotting scrapers and bots hitting your servers
- Searching application logs for errors while keeping personal data masked
- Setting up alerts for events such as payments stopping
StatsRaven FAQ
Do I need an AI key in StatsRaven?
No. Claude and other MCP clients connect to StatsRaven without an AI key configured in the product.
Can the MCP tools change my data?
Most tools are read-only. Saving facts, labelling log patterns, pinning charts and creating alerts are the write-capable exceptions.
How do clients authenticate?
Clients can use an admin token sent as a Bearer header, or OAuth where an admin signs in and approves the app.
Are tool calls logged?
Yes, each tool call is written to the change log with the token or app that made it.
How do I add StatsRaven to Claude Code?
Run this command in your terminal: claude mcp add statsraven -- docker run -i --rm ghcr.io/umutgokbayrak/statsraven:0.2.10
What are the best alternatives to StatsRaven?
The closest alternatives to StatsRaven are SuprAnalytics, Web Analytics, nextanalytica, Ripples Metrics and RevScope.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.