Hardal MCP is now live at mcp.usehardal.com. It gives Claude, ChatGPT, Codex and other MCP clients read-only access to your live first-party analytics. The same data is available through the public /v1 Reports API, which accepts scoped API keys you create on the new Connections page in Beacon.
This post covers what shipped, how to connect, and what the assistant can answer once it has access.
What is Hardal MCP?
MCP servers for marketing analytics explained the protocol and how to evaluate a server. Hardal MCP is our implementation: a remote server that exposes six read-only tools over your Hardal workspace data.
The server runs at mcp.usehardal.com and uses OAuth 2.1 with workspace consent. When you connect an MCP client, you sign in through Hardal and approve read access to the workspaces you choose. The client receives a scoped token. The server never sees your password.
Because the data comes from your own first-party event stream, the assistant answers from one source of truth. It does not sum up platform-reported numbers that each claim credit for the same orders. If you ask which campaigns drove revenue last week, the answer uses your conversion definition, not the ad platform's.
Six tools, all read-only
Each tool maps to a report in the /v1 Reports API. The model picks a tool based on your question, fills in dates and filters, and answers from the result.
| Tool | What it returns |
|---|---|
get_context | Tenant metadata: name, time zone, reporting currency, event types, attribution settings |
get_overview | Aggregate metrics for a date range: sessions, visitors, conversions, revenue, top channels, top sources, device breakdown |
get_breakdown | A ranked list of one dimension: pages, campaigns, sources, channels, countries, cities, AI visibility categories, referrers |
compare_periods | The same aggregates for two date ranges, with change calculations |
get_events | Event counts by name for a date range |
get_funnels | Lists your saved funnels, or returns one funnel's conversion rates and step counts |
Every response includes a context block: the resolved date range, applied filters, time zone, currency and a flag for data completeness. The model uses this to qualify its answer.
How to connect
Claude Desktop or Claude.ai with connectors: Add mcp.usehardal.com as a remote MCP server. Claude opens the OAuth flow, you sign in and approve workspace access, and the tools appear. For detailed instructions, see /mcp.
ChatGPT custom plugins: Create a plugin pointing to the MCP endpoint. ChatGPT handles the OAuth flow the same way.
Codex and Cursor: Add the server to your MCP configuration. Both support remote servers with OAuth.
Other clients: Any client that supports the Model Context Protocol specification can connect. The server advertises its tools and handles token exchange.
After connecting, the assistant can answer questions like:
- What were my top five traffic sources last week?
- Compare conversion rates between this month and last month.
- Which pages got the most sessions from AI agents?
- Show me the funnel conversion rate for the checkout flow.
The /v1 Reports API
The same data is available through a REST API for scripts, dashboards and automations that do not use an MCP client.
The API is available at api.usehardal.com/v1. It accepts a Bearer token in the Authorization header. The token can be an OAuth access token from the MCP flow, or a scoped API key from the Connections page.
Endpoints mirror the MCP tools:
GET /v1/reports/overviewreturns the overview reportGET /v1/reports/breakdownreturns a breakdown by dimensionGET /v1/reports/comparecompares two periodsGET /v1/reports/eventsreturns event countsGET /v1/reports/funnelsreturns funnel data
Pass dates, filters and pagination as query parameters. Responses include the same context block as the MCP tools.
Scoped API keys on the Connections page
Organisation owners and admins can now create API keys on the Connections page in Beacon. Keys are scoped to specific tenants and carry only the reports:read permission.
To create a key:
- Open Beacon and go to your organisation settings
- Select the Connections page
- Click Create API Key
- Give the key a name, select the tenants it can access, and optionally set an expiry date
- Copy the key value. It is shown only once.
The key acts as its creator on the /v1 API. If the creator leaves the organisation, the key becomes inactive. Organisation admins can revoke any key at any time.
API keys follow the format hrd_key_ followed by a random string. Only a hash and a short display prefix are stored. The full value is never logged or retrievable after creation.
What the assistant can and cannot see
The assistant sees: Aggregate metrics, ranked lists, funnel conversion rates, time series with daily granularity. All the data you would see in a Beacon report.
The assistant does not see: Individual visitor records, raw event payloads, personally identifiable information. The MCP tools and the /v1 API return only aggregated data. Hardal applies the same consent and redaction rules before serving the data that it applies before forwarding events to ad platforms.
The assistant cannot change: Anything. All six tools are read-only. There is no tool to create, edit or delete workspaces, tenants, events, funnels or settings. The server design keeps writes out of the model context entirely.
Connecting to your existing tooling
The /v1 API works with any HTTP client. If you already pull data from Hardal into a warehouse or BI tool, you can switch to or add the API endpoint. The data matches what the dashboard shows.
For AI workflows, the MCP server is the cleaner path. The model selects the right tool, fills in the arguments, and handles pagination and date parsing. You ask a question in plain language and get the answer from live data.
Start using it
If you have a Hardal account, you can connect today:
- Add
mcp.usehardal.comto your MCP client - Complete the OAuth flow
- Ask a question about your analytics
For programmatic access, create an API key on the Connections page and call the /v1 endpoints.
For a broader introduction to how MCP servers fit into marketing analytics, read MCP Servers for Marketing Analytics. For background on first-party data and AI agents, see First-Party Data Infrastructure for AI Agents.
Hardal is the first-party data and agentic analytics platform. We help enterprises send accurate signals to their ad platforms and grow revenue, using server-side data from their websites, mobile apps and AI agents.