Tools
Reference for every QueryDeck MCP tool, the data set each one needs, and its inputs.
All tools are read-only (readOnlyHint: true) and return JSON. A tool appears
only when at least one connected organisation shares its data set over MCP.
The organization input
Data tools take an organization: an id or slug from list_organizations.
- With one connected organisation it's optional.
- With several it's required.
list_organizations
The organisations this connection can read, with the data sets each one shares. Needs no data set and takes no input.
[{ "id": "…", "name": "Acme", "slug": "acme", "datasets": ["properties", "search_performance"] }]list_properties
Connected properties you can query. Data set: properties.
| Input | Type | Required |
|---|---|---|
organization | string | With several organisations |
search_performance
Clicks, impressions, CTR and position by query, page, country or device. Data
set: search_performance. Same fields as POST /v1/public/performance/query.
| Input | Type | Default |
|---|---|---|
organization | string | With one organisation, that one |
property | string | Required. Property id or Search Console URL |
report | string | top_performing_keywords (all reports) |
days | integer, 1–365 | 28 |
compare_periods
Diffs the window against the previous window of the same length, by query (the
keyword_movers report). Data set: search_performance.
| Input | Type | Default |
|---|---|---|
organization | string | With one organisation, that one |
property | string | Required |
days | integer, 1–365 | 28 |
ga4_report
GA4 landing, channel, conversion and LLM referral reports. Data set:
ga4_reports. Same fields as POST /v1/public/ga4/reports.
| Input | Type | Default |
|---|---|---|
organization | string | With one organisation, that one |
property | string | Required |
report | string | landing_channel (all reports) |
days | integer, 1–365 | 28 |
Errors
A failed tool call returns an MCP tool error (isError: true) with a message
the agent can read, for example Organization not found or Property not found.
Connect a client
Add the QueryDeck MCP server to Claude, Claude Code, Cursor, VS Code or any MCP client that supports remote servers with OAuth.
Webhooks
Subscribe to QueryDeck sync events, verify the QueryDeck-Signature header with your endpoint's whsec_ secret, and handle retries, versions and missed events.