datalyr:read and nothing else, so the token your
client receives reads and changes nothing. It is short-lived, and it is never the
workspace Agent key. Datalyr never receives your Claude or Codex credentials, and you
need no Anthropic or OpenAI API key.
The server does expose tools that change conversion rules and trackable links. A token
that asked for datalyr:read alone cannot call any of them. See
The 8 tools that write or start work.
Before you start
You must have a Datalyr login that belongs to at least one workspace. The server checks your membership on every tool call.Connect Claude
- Open Customize → Connectors in Claude.
- Select + → Add custom connector.
- Enter
Datalyras the name. - Enter
https://api.datalyr.com/mcpas the remote MCP URL. - Select Add.
- Select Connect.
- Sign in to Datalyr and allow read-only access.
Connect Codex
The 27 read tools
The 8 tools that write or start work
The server advertises 8 more tools. A token that asked fordatalyr:read alone cannot
call any of them. See Agent access for the scopes, the dry-run
default, and the undo path.
No tool changes tracking, settings, sources, tracking domains, team membership, or
billing. No scope publishes a container script.
There is no signup tool. MCP needs an OAuth token, and only an existing Datalyr account
can hold one. To start a signup for somebody who has no account, call
POST /v1/signup. See Agent-driven setup.
Rules the client follows
An AI client can misread a number it fetched correctly. Check any high-impact decision
against the matching report in Datalyr.
Verify
- Start a new conversation.
- Ask:
List my Datalyr workspaces. - Confirm the reply names the workspace you expect.
- Ask:
Show my Datalyr overview for the last 7 days. - Compare the visitor count with Overview in Datalyr.
When it does not work
Removing Datalyr from your client’s connector settings stops it from requesting new data.
Next
- API reference: the same data over HTTP with an Agent key.
- API keys: when you need a key instead of OAuth.
- AI Chat: ask the same questions inside Datalyr.