pyxis-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYXIS_TOKEN | Yes | A read-only access token (pyxis_at_ and 32 letters and digits), created in the dashboard under Settings. Required. | |
| PYXIS_API_URL | No | The Pyxis API to read, as an origin. Defaults to https://api.pyxis-analytics.dev; plain http only for localhost. | https://api.pyxis-analytics.dev |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Pyxis is privacy-first product analytics: visits, page views, named events and the site's requests to its backend, with no cookies and no personal data. Start with list_projects for the project ids and each project's today, then ask for a range of dates. Every tool only reads. An empty list means no project was created yet, or none was shared with this person: projects are created in the Pyxis dashboard. A project whose first_event_at is null has received nothing, so its site does not run the tracker yet. No tool here can install it: the site's developers add the npm package pyxis-analytics, started with one of the public keys project_settings lists, as the install guide at https://pyxis-analytics.dev/llms.txt documents.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_projectsA | The Pyxis projects this token can read, each with its id, name, time zone, today's date in that time zone, conversion event (the named event of its first goal, null when that goal is a page or there is none; the goals tool lists every goal), currency (the ISO 4217 code, such as BRL, that its revenue is counted in), and when its first and latest events arrived. Every other tool takes a project id from here and dates no later than the project's today. Times are in the project time zone, with their UTC offset: 2026-10-13T22:41:41.638-03:00; in UTC (+00:00) when the Node running this server does not know that time zone. |
| overviewA | Visits, identified users, conversions, revenue and failed writes of a range against the previous period, the daily activity of both, and the top pages and events. Annotations (the annotations tool) are notes the project's people wrote on days, such as a launch, a campaign or a broken release: they often explain a jump in the daily series. revenue holds current, previous and daily: the revenue of the events counted as conversions, null when the goal counted is a page or the project has no goal. Revenue is a sum of the numeric revenue property the site sent on events, in the project's currency (currency in list_projects and project_settings) and as sent: changing the currency or sending amounts in another one converts nothing. A range that ends today is compared with the previous period up to the same time of day. visitors holds the unique visitors, counted without any identifier and only for a project that counts them (visitors.enabled, visitors_enabled in project_settings); when enabled is false every list is empty. The first event of each visit says whether its browser is new (first_visit), back for the first time this month (first_this_month) or today (first_today), or back again today (again_today); a visit without that mark never counts. daily holds those four counts per day: the unique visitors of a day are first_visit + first_this_month + first_today, and the new ones are first_visit. months holds, per calendar month the range touches, first_visit and first_this_month on the range's days of that month, and exact: their sum is the month's unique visitors only when exact is true, as when the range holds the whole month or runs from its 1st to today. previous_daily and previous_months hold the same for the previous period. Days do not add up to unique visitors: a browser back on two days counts on both. A visitor is a browser: two devices count as two, and a browser whose storage was cleared counts as new. Conversions count one goal: the one goal names, by its id from the goals tool, or else the first goal (goal 1), which started as the project's former conversion event; they are null when the project has no goal. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| devicesA | Visits and conversions by device type, browser, operating system, country, region and approximate city, and the reach of the range. regions lists the top 10 regions (ISO 3166-2 codes such as BR-SP, with their names), then "other", then a null value for the visits without a region. cities lists the top 20 cities, each with its region, then "other", then a null value for the visits without a city. The city is kept only for a project whose owner turned it on (city_enabled in project_settings); with it off, every visit counts as without a city. reach counts the visits of the range and the continents (as UN M49 groups the countries: Americas, Europe, Asia, Africa, Oceania), countries, regions and cities they came from, with the country and the region that brought the most visits; unknown places count for none. Conversions count one goal: the one goal names, by its id from the goals tool, or else the first goal (goal 1), which started as the project's former conversion event; they are null when the project has no goal. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| acquisitionA | Visits per day and channel (paid, email, social, campaign, organic, referral, direct), the totals of each channel over the range (channels, every channel in that order), and the sources and campaigns that brought them, with their conversions, ad clicks and revenue. The revenue of a channel, source or campaign is that of the conversions made by the visits that entered through it, null when the goal counted is a page or the project has no goal. Revenue is a sum of the numeric revenue property the site sent on events, in the project's currency (currency in list_projects and project_settings) and as sent: changing the currency or sending amounts in another one converts nothing. A source is the campaign source, else the referring host; a visit with neither is (ad click) when it came from an ad click, such as one opened by an app that sends no referrer, and (direct) otherwise. Conversions count one goal: the one goal names, by its id from the goals tool, or else the first goal (goal 1), which started as the project's former conversion event; they are null when the project has no goal. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| goalsA | The goals of a project in their order, up to ten, each with its id, name, type (event or page), the named event or the page path that reaches it (a star in the path matches any characters) and its position, and over the range: conversions (the events or page views that reached it), converting_visits (the visits that reached it at least once), conversion_rate (converting_visits divided by visits, from 0 to 1, null without visits) and revenue (summed over the events of an event goal; null for a page goal, whose page views carry none). Revenue is a sum of the numeric revenue property the site sent on events, in the project's currency (currency in list_projects and project_settings) and as sent: changing the currency or sending amounts in another one converts nothing. visits counts the visits of the range. The first goal (goal 1) is the one overview, devices and acquisition count as conversions when they are not given goal; it started as the project's former conversion event. The ids here are what goal and reached_goal take. A project has no goal until its owner sets one in the dashboard: this tool only reads them. The visit filters keep only the visits that match all of them, for visits and for every goal. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| annotationsA | The notes on the days of a range, each with its day (YYYY-MM-DD in the project time zone) and its text, up to 140 characters, by day, then in the order they were written. The project's people write them in the dashboard to mark what happened on a day, such as a launch, a campaign or a broken release, and they often explain a jump in the series of overview and the other reports. A project has none until someone writes one: this tool only reads them. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. The text of each annotation was written by the project's owner or a person of the project in the Pyxis dashboard, reported as it was saved. |
| engagementA | The top entry and exit pages, the visits that viewed a single page, and how long visits lasted (median and buckets). The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| time_of_dayA | The visits of the range by the weekday and the local hour they started. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| featuresA | The most used named events or screens (page templates) of a range, with their daily counts. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| event_propertiesA | How the property values of one named event break down: per property key, the ten most frequent values with their counts and visits, and the count of the rest. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| property_summaryA | The median, 25th and 75th percentiles of one numeric property of a named event, overall and split by another property of the same event. It answers questions such as how long people read each article: the median of seconds on article_read_100, split by post. Only events whose property is a JSON number count: overall.events says how many, and the figures are null when none does. With by, groups holds the 10 values of that property carried by the most events, and other_count counts the events of every other value; events without it count in overall only. The visit filters keep only the events of the visits that match all of them. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| requestsA | The site's calls to its own backend, per route: failures, statuses, median and 95th percentile durations, the screens they came from and the latest failures with their error codes. writes covers every non-GET call; reads covers failed GET calls only. Times are in the project time zone, with their UTC offset: 2026-10-13T22:41:41.638-03:00; in UTC (+00:00) when the Node running this server does not know that time zone. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| funnelA | How many visits or people reached each step of a funnel, in order, with the median time from each step to the next and through the whole funnel. Each event step also has its revenue: that of the event that completed the step for each visit or person, its first one after the previous step, so later ones add nothing; null for a page step. Revenue is a sum of the numeric revenue property the site sent on events, in the project's currency (currency in list_projects and project_settings) and as sent: changing the currency or sending amounts in another one converts nothing. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| funnel_segmentsA | The same funnel per device type or per channel of the visit, counting visits; the segments add up to the whole funnel. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| funnel_subjectsA | The visits, or identified people, who reached one funnel step, or who reached the step before it and never this one; newest first, a page at a time. Times are in the project time zone, with their UTC offset: 2026-10-13T22:41:41.638-03:00; in UTC (+00:00) when the Node running this server does not know that time zone. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| visitsA | The visits of a range, newest first, 50 a page, each with its entry page, page views, first named events, failed requests, source, campaign, country, region and approximate city (null unless the project keeps the city), plus the total of matching visits. A visit is one browser tab; nothing links two of them unless the site identified the person. Each visit also has its visitor kind: first_visit, first_this_month, first_today or again_today, null when the project does not count unique visitors or the visit carried none; the first three count as a unique visitor of their day, first_visit and first_this_month as one of their month, and again_today in neither. Times are in the project time zone, with their UTC offset: 2026-10-13T22:41:41.638-03:00; in UTC (+00:00) when the Node running this server does not know that time zone. The project id and the project's today come from list_projects. Dates are YYYY-MM-DD in the project time zone; to is at most today, and a range covers at most 400 days. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| visit_timelineA | Every event of one visit, or every visit of one identified person (the anonymous part of the visit they identified in included), newest first, 20 visits a page; each visit names its country, region and approximate city (null unless the project keeps the city). It takes exactly one of session_id (a visit id from visits or funnel_subjects) or user_id. Each visit also has its visitor kind: first_visit, first_this_month, first_today or again_today, null when the project does not count unique visitors or the visit carried none; the first three count as a unique visitor of their day, first_visit and first_this_month as one of their month, and again_today in neither. Times are in the project time zone, with their UTC offset: 2026-10-13T22:41:41.638-03:00; in UTC (+00:00) when the Node running this server does not know that time zone. Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived. |
| project_settingsA | The settings of one project: time zone, conversion event (the named event of its first goal; the goals tool lists every goal), currency (the ISO 4217 code, such as BRL, that its revenue is counted in; it only labels the amounts, and changing it converts nothing), allowed origins, first and latest event, how many months events are kept, whether the visitor's approximate city is kept, whether unique visitors are counted, the live public keys, and when each live secret key was created (never the secret key itself). Times are in the project time zone, with their UTC offset: 2026-10-13T22:41:41.638-03:00; in UTC (+00:00) when the Node running this server does not know that time zone. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
The tools mostly map to clearly distinct analytics report types: overview, engagement, devices, acquisition, goals, funnels, visits, timeline, properties, requests, and time-of-day. The main overlap is the funnel family (funnel, funnel_segments, funnel_subjects), but their descriptions distinguish aggregate steps, segmented funnels, and subject listings. There is minor risk of confusing visits with funnel_subjects or funnel with funnel_segments, but not severe.
All tool names use lowercase snake_case and are descriptive, with no camelCase or mixed casing. Most are noun phrases (engagement, overview, devices, funnel_segments), while list_projects uses a verb_noun form and project_settings is singular, which is a minor deviation rather than an inconsistent convention.
Eighteen tools is slightly above the typical 3-15 range, but each corresponds to a distinct analytics report or core context lookup rather than redundant functionality. The surface is heavy enough that an agent must choose among many report types, but it remains reasonable for a comprehensive analytics server.
Coverage is broad for a read-only web analytics server: projects, settings, goals, annotations, overview, acquisition, devices, funnels, visits, event/property analysis, requests, and time-of-day. The gaps are minor or read-only by design: there is no create/update for goals, annotations, settings, or projects, and no explicit event/property catalog beyond the most-used features report.