Skip to content
MCP server
RegistryRemote

Firstlytics MCP Server

Your Firstlytics web and product analytics: reports, goals, funnels, users and custom SQL.

Firstlytics scores 66 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 3 tools. Filed under Databases. GitHub shows 0 stars. Package registries report about 56 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by firstlyticsMITJavaScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "firstlytics-mcp": {      "command": "npx",      "args": [        "-y",        "@firstlytics/mcp@1.0.0"      ],      "env": {        "FIRSTLYTICS_API_KEY": "YOUR_FIRSTLYTICS_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
FIRSTLYTICS_API_KEYSecretRequiredAn organisation API key (fl_live_...), from Organization settings, API keys

Tools3Tool docs quality grade D

All capabilities
  • erase a user for an erasure request (asks for confirmuserid)

  • top pages, sources, countries, devices, events, properties ...

  • visitors now and in the last 30 minutes

About

Firstlytics MCP server

Firstlytics is first-party web and product analytics: cookieless by default, with the tracker on your own domain. This is its Model Context Protocol server: Claude, Cursor and other AI assistants can answer questions such as "Where did last week's signups come from?" with your data, and manage your goals and funnels.

There are two ways to connect, with the same tools:

  • Hosted, at https://api.firstlytics.com/v1/mcp (Streamable HTTP), for clients that connect to remote servers: Claude Code, Cursor, VS Code, Windsurf and others. Nothing to install.
  • This package, @firstlytics/mcp, over stdio, for clients that start local servers, such as Claude Desktop: npx -y @firstlytics/mcp. It is a bridge to the hosted server, so its tools are always the hosted server's.

Both sign in with an organisation API key.

The API key

In Firstlytics, Organization settings → API keys → New key. The key's scopes decide what the assistant can do, and a key limited to some sites sees only those:

ScopeTools
stats:readreports (overview, timeseries, breakdowns, live, visits, events, errors, Web Vitals, journeys, goal conversions, funnel results) and custom SQL (run_query, get_query_schema: Scale plan)
sites:readlist_sites, site settings, funnels, annotations, segments
sites:writecreating, changing and deleting sites, goals and funnels
members:readlist_members
members:writeinviting people (not admins) and choosing which sites a member sees

For an assistant that only reads reports, give it stats:read and sites:read. Add the write scopes only when you want it to change things; it asks before deleting anything.

Set it up

Replace fl_live_... with your key.

Claude Code

claude mcp add --transport http firstlytics https://api.firstlytics.com/v1/mcp \
  --header "Authorization: Bearer fl_live_..."

Claude Desktop

Settings → Developer → Edit Config, then in claude_desktop_config.json:

{
  "mcpServers": {
    "firstlytics": {
      "command": "npx",
      "args": ["-y", "@firstlytics/mcp"],
      "env": { "FIRSTLYTICS_API_KEY": "fl_live_..." }
    }
  }
}

Restart Claude Desktop after saving. It needs Node.js 20 or later.

Cursor

In ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "firstlytics": {
      "url": "https://api.firstlytics.com/v1/mcp",
      "headers": { "Authorization": "Bearer fl_live_..." }
    }
  }
}

VS Code

In .vscode/mcp.json; VS Code asks for the key the first time and keeps it:

{
  "inputs": [
    { "type": "promptString", "id": "firstlytics-key", "description": "Firstlytics API key", "password": true }
  ],
  "servers": {
    "firstlytics": {
      "type": "http",
      "url": "https://api.firstlytics.com/v1/mcp",
      "headers": { "Authorization": "Bearer ${input:firstlytics-key}" }
    }
  }
}

Other clients

A client that connects to remote servers: https://api.firstlytics.com/v1/mcp, Streamable HTTP, with the header Authorization: Bearer fl_live_....

A client that starts local servers: the command npx -y @firstlytics/mcp, with FIRSTLYTICS_API_KEY in its environment.

Tools

ToolWhat it does
list_sites, get_sitethe sites the key sees, with visitors in the last 24 hours; one site's settings
create_site, update_site_config, delete_siteadd a site, change its settings, delete it
get_overview, get_overview_timeseriesvisitors, visits, page views, bounce rate, duration, over a period and over time
get_breakdowntop pages, sources, countries, devices, events, properties ...
get_live_statsvisitors now and in the last 30 minutes
get_sessions, get_sessionvisits, and every event of one visit
get_events, get_event_namesrecent events; custom events with counts
get_errors, get_web_vitals, get_journeysJavaScript errors, Core Web Vitals, common paths
get_funnels, analyze_funnel, save_funnel, delete_funnelfunnels and where visitors drop off
get_goals, create_goal, update_goal, delete_goalgoals and their conversions
get_annotations, list_segments, apply_segmentannotations, saved segments, a report with a segment
list_members, add_member, update_member_site_accessmembers, invitations, which sites a member sees
get_query_schema, run_querycustom SQL over the site's own data (Scale plan)
get_search_console_status, get_search_console_dataSearch Console: clicks, impressions, CTR and position
get_users, get_user, get_user_traitssigned-in users, one user's profile across days, users by trait
get_retention, get_active_users, get_feature_usageretention cohorts, DAU, WAU, MAU and stickiness, feature adoption
delete_usererase a user for an erasure request (asks for confirm_user_id)

Every tool does what the matching API endpoint does, with the same checks. The user tools read data collected with cookies, so they need a site in a cookie mode; on a cookieless site they find no users.

The full guide: firstlytics.com/docs/settings/mcp-server.

Configuration

Environment variable
FIRSTLYTICS_API_KEYan organisation API key (fl_live_...); required
FIRSTLYTICS_MCP_URLanother server than https://api.firstlytics.com/v1/mcp

Good to know

  • The assistant reads what your visitors left in your data: page titles, paths, referrers, event names. Treat what it suggests from them as you would any text from the web.
  • Delete a key in Organization settings when you no longer use it; the assistant loses access at once.
  • The key is sent only to the server in FIRSTLYTICS_MCP_URL, over HTTPS. This package keeps nothing on disk.

Development

npm install
npm test

The tests run the bridge against a stand-in for the hosted server, in memory and as the firstlytics-mcp command over stdio.

Questions and bugs: GitHub issues or support@firstlytics.com.

License

MIT, © FunFirst s.r.o.

Frequently asked questions

What is Firstlytics MCP Server?

Your Firstlytics web and product analytics: reports, goals, funnels, users and custom SQL.

How do I install Firstlytics MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Firstlytics MCP Server runs locally from the npm package @firstlytics/mcp with the command npx -y @firstlytics/mcp@1.0.0.

Is Firstlytics MCP Server free and open source?

Yes. Firstlytics MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Firstlytics MCP Server support remote (HTTP) connections?

Yes. Firstlytics MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does Firstlytics MCP Server provide?

Firstlytics MCP Server provides 3 tools: delete_user, get_breakdown, and get_live_stats. See the full tool list for descriptions and parameters.

How is Firstlytics MCP Server's trust score calculated?

Firstlytics MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server