About Traks
Traks is an MCP server published by shivamanupadi in the Healthcare category: self-hosted, privacy-friendly web analytics that deploys into your own Cloudflare account in two minutes. Free forever, MIT. Conduid read 23 tools from its source: create_funnel, create_goal, delete_funnel, delete_goal, get_attribution, get_bot_stats and 17 more. No package is published for it, so it installs from a source checkout.
The repository has 352 stars and 30 forks, is licensed MIT, and its last commit was on 18 Nov 2026. The latest release is v0.1.48 (4 Nov 2026): Fixed 7-day and 30-day stats could stop loading after a few days, with the error "scan limit exceeded … Iceberg manifests". It follows v0.1.47 (3 Nov 2026), and the 5 most recent releases go back to v0.1.44 (16 Oct 2026). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Tests present and No dynamic code execution. Its topics include analytics, cloudflare, cloudflare-workers, iceberg, plausible-alternative and privacy.
Install
git clone https://github.com/shivamanupadi/traksTools (23)
create_funnelCreate a funnel: 2-8 ordered steps (pages or events) a visitor should complete in one session.| Parameter | Type | Description |
|---|---|---|
| name * | any | |
| siteId * | any | |
| steps * | array |
create_goalCreate a conversion goal: a custom event (optionally 'where propKey = propValue') or a page visit.delete_funnelDelete a funnel definition.| Parameter | Type | Description |
|---|---|---|
| funnelId * | any | |
| siteId * | any |
delete_goalDelete a goal. Removes only the goal definition, never any analytics data.| Parameter | Type | Description |
|---|---|---|
| goalId * | any | |
| siteId * | any |
get_attributionConversions by UTM source, medium or campaign (type, default 'source'): tagged sessions, how many completed a goal, and the conversion rate in percent. Pass goalId (from list_goals) for one goal; otherwise any goal counts.| Parameter | Type | Description |
|---|---|---|
| goalId | any | |
| siteId * | any | |
| type | string | UTM tag to group by, default 'source' |
get_bot_statsBot traffic in the period: crawlers, AI agents, and monitors by name, with a category (search, ai, social, seo, monitoring, other), distinct visitors and pageviews. Counted separately from human visitors.| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
get_custom_eventsCustom events fired in the period, with counts and total values.| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
get_event_propsProperty breakdown for one custom event in the period: each 'key: value' pair with how many events carried it. Use to see which prop values an event is actually firing with.| Parameter | Type | Description |
|---|---|---|
| event * | any | |
| siteId * | any |
get_funnel_statsStep-by-step completion counts and drop-off rates for one funnel.| Parameter | Type | Description |
|---|---|---|
| funnelId * | any | |
| siteId * | any |
get_goal_statsConversion counts and rates for every goal in the period.| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
get_install_guideFull tracker install steps for one platform (slug from list_install_guides), with code samples. Samples use YOUR_SITE_KEY / YOUR_COLLECT_URL placeholders; the real values come from the "Add site" dialog of a deployed Traks instance.| Parameter | Type | Description |
|---|---|---|
| platform * | string | Guide slug, e.g. "nextjs", "react", "html" |
get_pathsPath analysis: the pages visitors viewed right after (kind 'next', the default) or right before (kind 'prev') a page, with how many sessions made each step. `path` is an exact path or a section prefix such as /docs/*. Reloads are not counted as a step.| Parameter | Type | Description |
|---|---|---|
| kind | string | Direction, default 'next' |
| path * | any | |
| siteId * | any |
get_product_overviewWhat Traks is: free self-hosted web analytics on Cloudflare. Features, privacy model, cost, how to deploy, and where the docs and MCP server live.get_statsFull dashboard for a site and period: main stats (visitors, pageviews, sessions, bounce, duration, deltas), timeseries, top pages, referrers, countries, browsers, OS.| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
get_tracking_snippetA site's install snippet and site key. Paste the snippet into the site's <head>; fire custom events with window.traks(name, props?, value?).| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
get_webmcp_statsWebMCP agent tool-call analytics for the period: each tool the site exposes via document.modelContext, with call count, failures, and average duration in ms. Auto-tracked by the tracker snippet on pages that register WebMCP tools.| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
list_docsTable of contents of the Traks documentation, with a direct URL per section.list_funnelsList the funnels defined for a site (name + ordered steps).| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
list_goalsList the conversion goals defined for a site.| Parameter | Type | Description |
|---|---|---|
| siteId * | any |
list_install_guidesFrameworks and platforms Traks has step-by-step tracker install guides for. Use get_install_guide for the full steps.list_sitesList the sites this token can access (id, name, domain, timezone). Site ids are the handle every other tool takes.update_funnelReplace a funnel’s name and steps (same fields as create_funnel).| Parameter | Type | Description |
|---|---|---|
| funnelId * | any | |
| name * | any | |
| siteId * | any | |
| steps * | array |
update_goalUpdate an existing goal (same fields as create_goal).| Parameter | Type | Description |
|---|---|---|
| goalId * | any |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.4K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by yarn.lock.
- !No dynamic code executionScanned 153 source files and found 1 call to eval or shell execution, in installer/upload-release.mjs:35. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 10 callsinstaller/build-release.mjs:21, installer/changelog.mjs:138, installer/changelog.mjs:143
- Outbound network calls
- 49 callsapps/home/api/src/deploy/discover.ts:40, apps/home/api/src/deploy/discover.ts:85, apps/home/api/src/deploy/engine.ts:100
- Writes or deletes files
- No file writes or deletes
- Lockfile
- yarn.lock
Pattern matches on the source text of 153 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.4K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README