MCP.Market

Yourtraffic MCP server

by kozmos-tech·io.github.kozmos-tech/yourtraffic·v0.1.1·1 stars

Open-source, privacy-first web analytics for tracking your sites' traffic.

A86/100grade A
What users say
No reviews yet
Be the first
Safety scan
A86/100

full report

Adoption
New

1 stars29 downloads/wk

Reviews

Write one

Nobody has reviewed Yourtraffic yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Yourtraffic tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 69 days ago12/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 86/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Yourtraffic compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
86/100
higher than 72% of 48,255 servers
GitHub stars
1
more than 65% of 28,688 servers
Downloads a week
29
more than 16% of 12,191 servers with a package

Install Yourtraffic in Claude Code, Cursor or VS Code

Runs npx -y @kozmos-tech/yourtraffic on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add yourtraffic -- npx -y @kozmos-tech/yourtraffic
Add to Cursor

What the publisher says

From the Yourtraffic repository's README, as published. We do not edit it. Read it on GitHub

YourTraffic

Open-source, privacy-first web analytics. Unlimited websites, a first-class REST API and a native MCP server for agents. No cookies, no personal data, no consent banners.

Self-hosting

Prerequisites

  • Vercel CLI installed globally
  • A Postgres database
  • Node 20 or newer

Set up

Clone the repo and install dependencies.

git clone https://github.com/kozmos-tech/yourtraffic
cd yourtraffic
npm install

Copy the example env file and fill it in.

cp .env.example .env
  • DATABASE_URL. Your Postgres connection string. The app fails to start without it.
  • BETTERAUTHSECRET. A long random secret. Generate one with openssl rand -base64 32. Never ship the default, since visitor hashes are salted from it.
  • BETTERAUTHURL. The public origin of your deployment, like https://analytics.example.com. Use http://localhost:3000 in development. This is also the origin MCP clients discover for OAuth, so it must be the exact public URL with no trailing path.
  • GOOGLECLIENTID and GOOGLECLIENTSECRET. Optional. Set both to enable Google sign-in on the login and signup pages. Create OAuth credentials in the Google Cloud console and add BETTERAUTHURL + /api/auth/callback/google as an authorized redirect URI. Leave them blank to hide the Google button.

Create the database tables before the first run.

npm run db:migrate

Run it

vc dev
open http://localhost:3000

Sign in, add a website, then drop the shown snippet into the of your site. Stats appear within seconds of the first visit.

Deploy

npm install
vc deploy

Set DATABASEURL, BETTERAUTHSECRET and BETTERAUTH_URL in your Vercel project settings, then run the migration against your production database.

Database

Schema lives in src/db/schema.ts. Generate a migration after changing it, then apply it.

npm run db:generate
npm run db:migrate

Reading your stats

Every project has an api key, shown under Settings in the dashboard.

  • REST API. Pass the key as a Bearer token to /api/v1/stats. See llms.txt for the full guide.
  • MCP server. Point an agent at /mcp. It uses OAuth, so you sign in to approve access and no api key is needed.

Nothing above is checked by us. What we check is on the safety report.

Yourtraffic: common questions

Is Yourtraffic MCP server safe?
Yes, by our scan: it is graded A (86/100). Read the Yourtraffic safety report
How do I install Yourtraffic?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Yourtraffic need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Yourtraffic maintained?
The last commit was 108 days ago (2026-07-19). The latest release is v0.1.1.
How does Yourtraffic compare with other MCP servers?
safety score 86/100 (higher than 72% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 29 (more than 16% of 12,191 servers with a package). Full comparison.

More from kozmos-tech →