Compatible with every major AI agent and IDE
What is the Pirsch Analytics MCP Server?
Connect Pirsch Analytics to your AI agent to monitor your website traffic and user behavior without compromising privacy. This MCP server allows you to collect data and query complex statistics through natural language.
What you can do
- Traffic Monitoring — Retrieve overview, visitor, and page statistics for any of your domains using specific date ranges.
- Event Tracking — Send individual or batch hits and events to track user conversions and interactions in real-time.
- Domain Management — List all configured domains and create new ones directly through the API.
- Referrer & Source Analysis — Analyze where your traffic is coming from with detailed referrer and UTM source statistics.
- Real-time Insights — Access active visitor counts and goal completion metrics to stay on top of your site's performance.
How it works
- Subscribe to this server
- Enter your Pirsch Access Token (Client Secret)
- Start querying your analytics from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Marketing Managers — get instant reports on campaign performance and visitor trends without opening a dashboard.
- Developers — integrate tracking hits and events into automated workflows or check site health from the CLI/IDE.
- Data Analysts — extract raw statistics and overview metrics for custom reporting and performance audits.
Built-in capabilities (14)
Create a new domain
Get active visitors statistics
Get events list statistics
Get conversion goals statistics
Get overview statistics for a domain
Get page statistics
Get referrer statistics
Get UTM source statistics
Get visitor statistics
List all domains
Send an event to Pirsch
Send a batch of events
Send as much information as possible for accurate analytics. Send a page view (hit) to Pirsch
Send a batch of page views (hits)
Why Vercel AI SDK?
The Vercel AI SDK gives every Pirsch Analytics tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 14 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Pirsch Analytics integration everywhere
- —
Built-in streaming UI primitives let you display Pirsch Analytics tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Pirsch Analytics in Vercel AI SDK
Pirsch Analytics and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Pirsch Analytics to Vercel AI SDK through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Pirsch Analytics in Vercel AI SDK
The Pirsch Analytics MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 14 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Vercel AI SDK only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Pirsch Analytics for Vercel AI SDK
Every tool call from Vercel AI SDK to the Pirsch Analytics MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How can I get a quick summary of my website's performance for a specific period?
You can use the get_statistics_overview tool. Just provide the Domain ID and the start/end dates (YYYY-MM-DD). The agent will return key metrics like visitors, views, and bounce rate.
Is it possible to track custom user actions like button clicks?
Yes! Use the send_event tool. You'll need to provide the event name, the current URL, and visitor details (IP and User-Agent) to record the interaction in Pirsch.
Can I see which pages are the most popular on my site?
Absolutely. Use the get_statistics_page tool with your Domain ID and date range. It will list the top pages along with their respective view counts and visitor data.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Nile (PostgreSQL for Multi-Tenant Apps)
6 toolsManage tenant-aware databases via Nile — provision B2B tenants, monitor DB metrics, and audit user access.

Kibo Commerce
10 toolsManage e-commerce catalogs, orders, and real-time inventory via Kibo Commerce.

Mention
10 toolsSocial media monitoring and alerts via Mention — track mentions and monitor brand sentiment.

AddSearch
10 toolsEquip your AI agent with AddSearch to query your indexed site content, push new documents, and retrieve search analytics instantly.
