Site visit analytics
site_visitsReturns owner-only human HTML page views and daily unique visitors for a slug. Inputs: slug, optional from and to as YYYY-MM-DD (default the plan window: 7 days on Free, 30 on Hobby, 90 on Pro), and token. Bots, empty or script user agents, headless browsers, and assets are not page views. A longer range returns plan_required with an upgrade link. No raw IP and no full user agent are stored. The same numbers are on https://deed.page/analytics?slug= with the owner token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "site_visits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last UTC day, YYYY-MM-DD. Default is today. | |
| from | No | First UTC day, YYYY-MM-DD. Default is the plan window ending at to. | |
| slug | Yes | Slug you own. | |
| token | No | Bearer token returned by your first publish (deed_tok_...). Optional if the MCP client sends Authorization: Bearer. |