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 Pydantic AI?
Pydantic AI validates every Pirsch Analytics tool response against typed schemas, catching data inconsistencies at build time. Connect 14 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Pirsch Analytics integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your Pirsch Analytics connection logic from agent behavior for testable, maintainable code
Pirsch Analytics in Pydantic AI
Pirsch Analytics and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Pirsch Analytics to Pydantic AI 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 Pydantic AI
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 Pydantic AI 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 Pydantic AI
Every tool call from Pydantic AI 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 Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your Pirsch Analytics MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Cloopen / 容联云
10 toolsLeading cloud communication platform in China — manage SMS, voice calls, and applications via AI.

LandTech
12 toolsResearch land ownership, planning applications, and property development opportunities with geospatial intelligence tools.

Wiktionary
2 toolsUniversal linguistic intelligence — get word definitions, etymologies, and examples via AI.

CoinGate
6 toolsAccept cryptocurrency payments from customers worldwide with instant fiat settlement and multi-coin checkout support.
