npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ffanalytics/mcp

v1.3.0

Published

MCP server for AnalyticsFF: lets Claude and other MCP clients explore and query your analytics.

Readme

@ffanalytics/mcp

MCP server for AnalyticsFF. Lets Claude (and any MCP client) explore your projects, events and properties, pull trends, and run read-only SQL.

Setup

Hosted, signed in (recommended)

Nothing to install, new tools appear as soon as they are deployed, and signing in gives Claude your org's projects and dashboards. In Claude, add a custom connector with the URL https://mcp.analyticsff.com/mcp and click Connect, or in Claude Code:

claude mcp add --transport http analyticsff https://mcp.analyticsff.com/mcp --scope user

then run /mcp and pick analyticsff to sign in with GitHub.

Hosted, with an API key

For scripts and CI. Keys can read projects but have no org, so the dashboard tools answer 403.

claude mcp add --transport http analyticsff https://mcp.analyticsff.com/mcp \
  --header "Authorization: Bearer sk_..." --scope user

Local (npm)

Runs the same tools on your machine. @latest makes npx pick up new versions.

claude mcp add ffanalytics --scope user -e FF_API_KEY=sk_... -- npx -y @ffanalytics/mcp@latest

Any MCP client (JSON config)

{
  "mcpServers": {
    "analyticsff": {
      "command": "npx",
      "args": ["-y", "@ffanalytics/mcp@latest"],
      "env": { "FF_API_KEY": "sk_..." }
    }
  }
}

| Env var | Default | | |---|---|---| | FF_API_KEY | required | sk_ key | | FF_API_HOST | https://us.api.analyticsff.com | e.g. https://dev.api.analyticsff.com |

Tools

| Tool | | |---|---| | list_projects | Projects you can see, with event counts (also sent as the server's instructions when it connects) | | list_events | Event names, counts, unique users | | list_properties | Property keys, optionally for one event | | get_trend | Count / unique users per hour, day or week, with optional breakdown | | list_persons | People in a project, most recently active first | | get_person | One person's profile and activity timeline, by id or email | | run_sql | Read-only ClickHouse SQL on one project, which is all it can see (30s / 10k-row limits) | | screenshot_replays | Screenshot up to 10 sessions' recordings a few seconds in, or a few seconds after they opened a page (after_path), kept 30 days; a custom tile shows one with <img data-ff-screenshot="<session_id>"> | | list_dashboards | Dashboards on the web app, with page URLs | | get_dashboard | A dashboard's tiles | | create_dashboard | A new dashboard, optionally with its tiles | | add_tile | Add a line, bar, table or number tile for an event trend | | add_chart_tile | Add a chart drawn from your own Vega-Lite spec over one or more datasets | | add_table_tile | Add a table with a row per user, session or order, usually from one SQL dataset | | add_custom_tile | Add a tile whose look you write in HTML, CSS and JavaScript over its own SQL: screenshots, headings, links and nested sections, run in a sandboxed frame with no network | | add_text_tile | Save a written answer, like a nightly recap, with the question it answers and the dates it covers | | update_tile | Change a tile's title, display or query | | update_chart_tile | Change a chart, table or custom tile's datasets, spec, table or html | | update_text_tile | Rewrite a text tile, usually for new dates when the user asks for it again | | remove_tile | Remove a tile | | delete_dashboard | Delete a dashboard and its tiles |

Tools that take project use your only project when you leave it out. The dashboard tools need a signed-in connection; everything else is read-only and works with a key.

License

MIT