LearnMCP

Hardal MCP

Connect Claude or ChatGPT to query your Hardal analytics.

Hardal MCP lets you ask questions about your live Hardal analytics from Claude or ChatGPT.

Hardal MCP is read-only. It returns aggregate analytics and does not expose visitor-level records to the model context.

Connect using the remote server

The remote server is the recommended option for connecting Hardal to Claude or ChatGPT.

MCP server URL

https://mcp.usehardal.com/mcp

Add the server

Add the URL above as a custom connector in your MCP client.

Authenticate Hardal

Connect the server with authenticated access to your Hardal workspace. Your workspace must have an active Hardal Analytics workspace.

Enable Hardal

Enable the Hardal MCP server for the conversation, then ask a question about your traffic, events, or campaigns.

Client-specific setup

ClientSetup
ClaudeOpen Customize → Connectors and add a custom connector with the server URL.
ChatGPTTurn on Developer Mode, then add a custom connector with the server URL.

Available tools

Hardal MCP exposes three read-only tools. Each tool accepts an optional start_date and end_date; when omitted, the query uses the last 30 days.

ToolUse it to
get_analytics_overviewReview totals, top pages, referrers, locations, browser and device breakdowns, and a time series for a date range.
get_analytics_event_countsCount event names and see which events fire most often.
get_top_campaignsRank campaigns by revenue, conversions, sessions, or conversion rate.

Privacy and permissions

  • Read-only by design: Hardal MCP cannot create, edit, or delete anything in your workspace.
  • Aggregates only: Tools return counts, totals, rankings, and time series. Visitor-level records stay out of the model context.
  • Authenticated access: The remote server checks Hardal credentials before querying your analytics.
  • Client-controlled access: Use your MCP client's approval controls to keep approval on, allow trusted tools, or block a tool.