Heru Events MCP
Enables validation and monitoring of analytics events in Heru, integrating with Claude Code to query event data directly from the IDE.
README
Heru Events MCP
MCP (Model Context Protocol) server para validar y monitorear eventos de analytics en Heru. Se integra con Claude Code para dar acceso a tools de consulta de eventos directamente desde el IDE.
Setup
1. Clonar el repo
git clone git@github.com:Heru-Technologies/heru-events-mcp.git
cd heru-events-mcp
2. Instalar dependencias
npm install
3. Configurar variables de entorno
cp config/.env.example config/.env
Edita config/.env con las credenciales reales. Pide los valores al equipo de backend.
4. Configurar Claude Code
Agrega el MCP a tu proyecto. Crea o edita .mcp.json en la raíz de heru-web-app:
{
"mcpServers": {
"heru-events-testing": {
"command": "node",
"args": [
"/ruta/absoluta/a/heru-events-mcp/mcp-server.js"
]
}
}
}
Reemplaza /ruta/absoluta/a/ con la ruta donde clonaste el repo.
Eso es todo. Claude Code detecta el .mcp.json y ejecuta el server automáticamente cuando necesita las tools.
Tools disponibles
| Tool | Descripcion |
|---|---|
get_user_events |
Consulta eventos de un usuario por rango de fechas |
get_event_stats |
Estadisticas de eventos por tipo, fuente y dia |
validate_event_tracking |
Valida que un evento llega a DB y Amplitude |
compare_amplitude_vs_database |
Compara eventos entre DB y Amplitude |
validate_checkout_funnel |
Valida el funnel completo de checkout |
validate_stripe_payment |
Valida un payment intent de Stripe |
get_amplitude_funnel |
Consulta datos de funnel en Amplitude |
get_clevertap_user_profile |
Perfil de usuario en CleverTap |
get_clevertap_events |
Eventos de CleverTap por nombre |
get_clevertap_profile_count |
Conteo de perfiles en CleverTap |
Uso con Hermes
El agente /hermes en heru-web-app usa estas tools automaticamente para validar eventos despues de integrarlos. Ver .claude/commands/hermes.md en el proyecto web.
Scripts standalone
npm run query # Consultar eventos
npm run query-db # Consultar solo en DB
npm run compare # Comparar DB vs Amplitude
npm run validate-funnel # Validar funnel
Variables de entorno
| Variable | Requerida | Descripcion |
|---|---|---|
EVENTS_DB_URI |
Si | Connection string de PostgreSQL (eventos) |
AMPLITUDE_API_KEY |
Si | API key de Amplitude |
AMPLITUDE_SECRET_KEY |
No | Secret key de Amplitude (para Export API) |
STRIPE_SECRET_KEY |
No | Secret key de Stripe (para validar pagos) |
CLEVERTAP_ACCOUNT_ID |
No | Account ID de CleverTap |
CLEVERTAP_PASSCODE |
No | Passcode de CleverTap |
DB_SSL |
No | true para produccion, false para localhost |
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.