{"id":4988,"date":"2026-05-06T20:03:19","date_gmt":"2026-05-07T02:03:19","guid":{"rendered":"https:\/\/querystreams.com\/?post_type=docs&#038;p=4988"},"modified":"2026-11-09T08:43:11","modified_gmt":"2026-11-09T14:43:11","password":"","slug":"how-to-query-google-ads-with-claude-via-mcp","status":"publish","type":"docs","link":"https:\/\/querystreams.com\/fr\/docs\/how-to-query-google-ads-with-claude-via-mcp\/","title":{"rendered":"Connectez Google Ads \u00e0 Claude avec MCP"},"content":{"rendered":"\n<article class=\"qs-d qs-d--mcp qs-d--v5\" data-src=\"google_ads\" data-dest=\"mcp\" style=\"--qs-src:66 133 244;--qs-src-deep:23 78 166;--qs-src-ink:23 78 166;--qs-src-tint:#a8c7fa;--qs-dst:16 185 129;--qs-dst-tint:#6EE7B7\">\n<section class=\"qs-v5-hero qs-v5-hero--doc\" data-qs-art=\"hero-mcp\" aria-label=\"Introduction\"><div class=\"qs-v5-hero__words\"><div class=\"qs-v5-lockup\"><span class=\"qs-v5-lockup__item\"><span class=\"qs-v5-lockup__mark\"><a class=\"lnk\" href=\"https:\/\/querystreams.com\/database-integrations\/google-ads\/\" aria-label=\"Google Ads: all integrations\" data-qs-cta=\"hub_page\"><img decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/08\/icon-googleads.png\" alt=\"\" width=\"56\" height=\"56\" loading=\"eager\"><\/a><\/span><span class=\"qs-v5-lockup__name\">Google Ads<\/span><\/span><i class=\"fa-solid fa-arrow-right qs-v5-lockup__arrow\" aria-hidden=\"true\"><\/i><span class=\"qs-v5-lockup__item qs-v5-lockup__item--qs\"><span class=\"qs-v5-lockup__mark\"><a class=\"lnk\" href=\"https:\/\/my.querystreams.com\" rel=\"noopener\" title=\"Start free on the Free plan\" aria-label=\"Start free on the Free plan\" data-qs-cta=\"signup\"><img decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/11\/qs-logo-mark-120.png\" alt=\"\" width=\"56\" height=\"56\" loading=\"eager\"><\/a><span class=\"qs-v5-lockup__pill\">Free plan<\/span><\/span><span class=\"qs-v5-lockup__name\">Query Streams<\/span><\/span><i class=\"fa-solid fa-arrow-right qs-v5-lockup__arrow\" aria-hidden=\"true\"><\/i><span class=\"qs-v5-lockup__item\"><span class=\"qs-v5-lockup__mark\"><a class=\"lnk\" href=\"https:\/\/querystreams.com\/docs\/connect-query-streams-to-claude-mcp\/\" title=\"Connect an AI client\" aria-label=\"Connect an AI client\" data-qs-cta=\"mcp_hub\"><img decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/05\/icons8-claude-48.png\" alt=\"\" width=\"56\" height=\"56\" loading=\"eager\"><\/a><\/span><span class=\"qs-v5-lockup__name\">Claude<\/span><\/span><\/div><p class=\"qs-v5-hero__eyebrow\">Google Ads &rarr; Claude &middot; with Query Streams<\/p><p class=\"qs-v5-hero__lede\">With Query Streams, ask Claude about your Google Ads account in plain English: the Agent already inside your network runs the SQL read-only, and your AI client never holds your login. About ten minutes, and the Free plan covers it.<\/p><a class=\"qs-v5-hero__btn\" href=\"https:\/\/my.querystreams.com\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"signup\">Start free<\/a><\/div><figure class=\"qs-v5-hero__art\"><picture><source media=\"(max-width: 640px)\" srcset=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\"><img fetchpriority=\"high\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/11\/hero-mcp-t1-720.webp\" srcset=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/11\/hero-mcp-t1-480.webp 480w, https:\/\/querystreams.com\/wp-content\/uploads\/2026\/11\/hero-mcp-t1-720.webp 720w, https:\/\/querystreams.com\/wp-content\/uploads\/2026\/11\/hero-mcp-t1-1080.webp 1080w, https:\/\/querystreams.com\/wp-content\/uploads\/2026\/11\/hero-mcp-t1-1440.webp 1440w\" sizes=\"(max-width: 900px) min(420px, calc(100vw - 97px)), min(720px, calc((100vw - 184px - min(5vw, 72px)) * 7 \/ 12))\" width=\"1440\" height=\"960\" alt=\"Isometric library of database shelves where an agent carries a card on a trolley to a chat panel at a counter\" loading=\"eager\" fetchpriority=\"high\" decoding=\"async\"><\/picture><\/figure><\/section>\n<div class=\"qs-d-support\" data-zone=\"mint\" data-qs-seen=\"support\"><span class=\"qs-d-chip\"><i class=\"fa-solid fa-life-ring\"><\/i><\/span><div class=\"qs-d-support__body\"><strong>Stuck at any point? Just ask us.<\/strong> Open <a href=\"https:\/\/my.querystreams.com\/support\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"support\">Support<\/a> in Query Streams (top-right menu &rarr; Support) and send us a message. Real people read it, and &ldquo;I don&rsquo;t know what this screen is asking for&rdquo; is a perfectly good question.<\/div><\/div>\n\n<h2 id=\"result\">What you&rsquo;ll end up with<\/h2>\n<p class=\"qs-d-lead\"><img decoding=\"async\" class=\"qs-d-lead__icon\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/08\/icon-googleads.png\" alt=\"Google Ads logo\" width=\"28\" height=\"28\">A Claude that can answer questions about your Google Ads account with live, read-only queries, explain what the columns mean, and follow up when you ask for more &mdash; without ever seeing a database login, and without a firewall change: the Agent already inside your network runs the SQL and sends back only the rows. Once the Agent is in place, connecting Claude takes about 90 seconds if you are comfortable with a settings screen. Like this:<\/p>\n<div class=\"qs-d-chat\" role=\"img\" data-qs-seen=\"result\" aria-label=\"A Claude conversation: the user asks a question about Google Ads data, Claude calls Query Streams tools, runs a read-only query through the Agent and answers with a small table\"><div class=\"qs-d-chat__bar\" aria-label=\"MCP clients that work with the same connection\"><span class=\"qs-d-chat__dots\"><i><\/i><i><\/i><i><\/i><\/span><span class=\"qs-d-chat__tabs\"><span class=\"qs-d-chat__tab on\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/05\/icons8-claude-48.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> Claude<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/05\/icons8-chatgpt-48.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> ChatGPT<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/05\/icons8-cursor-ai-48.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> Cursor<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/05\/icons8-claude-48.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> Claude Code<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/09\/icons8-vscode-96.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> VS Code<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/09\/icons8-windsurf-48.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> Windsurf<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/09\/icons8-gemini-96.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> Gemini CLI<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/09\/icons8-jetbrains-96.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> JetBrains<\/span><span class=\"qs-d-chat__tab\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/05\/icons8-chatgpt-48.png\" alt=\"\" width=\"14\" height=\"14\" loading=\"lazy\"> Codex<\/span><span class=\"qs-d-chat__tab more\">+5 more<\/span><\/span><span class=\"qs-d-chat__status\">Read-only<\/span><\/div><div class=\"qs-d-chat__body\"><div class=\"qs-d-chat__msg user\"><p>What is in <strong>google_ads.campaign_performance<\/strong> in my Google Ads account? Show me a few rows and tell me what each column means.<\/p><\/div><div class=\"qs-d-chat__tools\"><span><i class=\"fa-solid fa-sitemap\"><\/i> qs_get_table_schema<\/span><span><i class=\"fa-solid fa-play\"><\/i> qs_run_query<\/span><span class=\"tier\"><i class=\"fa-solid fa-brain\"><\/i> schema_intelligence<\/span><\/div><div class=\"qs-d-chat__msg ai\"><p>I looked at the table structure first, then ran a read-only query through your Agent. Here are three of the google_ads.campaign_performance rows:<\/p><table class=\"qs-d-chat__table\"><thead><tr><th>campaign_name<\/th><th>impressions<\/th><th>clicks<\/th><\/tr><\/thead><tbody><tr><td>1042<\/td><td>Northwind Traders<\/td><td>Seattle<\/td><\/tr><tr><td>1057<\/td><td>Alpine Outfitters<\/td><td>Denver<\/td><\/tr><tr><td>1063<\/td><td>Harbour Foods<\/td><td>Halifax<\/td><\/tr><\/tbody><\/table><p><strong>campaign_name<\/strong> identifies the row. <strong>impressions<\/strong> and <strong>clicks<\/strong> are described in your Semantic Intelligence model, so I can filter on them by name.<\/p><\/div><div class=\"qs-d-chat__msg user\"><p>Which three <strong>clicks<\/strong> values brought in the most revenue this quarter, and how does that compare with last quarter? Anything I should look into?<\/p><\/div><div class=\"qs-d-chat__tools\"><span><i class=\"fa-solid fa-diagram-project\"><\/i> qs_get_relationships<\/span><span><i class=\"fa-solid fa-play\"><\/i> qs_run_query<\/span><span><i class=\"fa-solid fa-play\"><\/i> qs_run_query<\/span><\/div><div class=\"qs-d-chat__msg ai\"><p>I joined <strong>google_ads.campaign_performance<\/strong> to <strong>orders<\/strong> on the relationship Semantic Intelligence found, then ran one aggregate for each quarter. Both queries were read-only and returned 3 rows each:<\/p><table class=\"qs-d-chat__table\"><thead><tr><th>clicks<\/th><th>This quarter<\/th><th>Last quarter<\/th><th>Change<\/th><\/tr><\/thead><tbody><tr><td>Denver<\/td><td>184,200<\/td><td>133,900<\/td><td>+38%<\/td><\/tr><tr><td>Seattle<\/td><td>171,650<\/td><td>168,400<\/td><td>+2%<\/td><\/tr><tr><td>Halifax<\/td><td>96,300<\/td><td>129,700<\/td><td>&minus;26%<\/td><\/tr><\/tbody><\/table><p><strong>Denver<\/strong> is the story: revenue up 38% on almost the same number of customers, so average order value rose. <strong>Halifax<\/strong> fell 26%, and the drop is two customers who ordered every month last quarter and not at all this quarter &mdash; worth a call before month end. Seattle is flat. Want the two Halifax accounts by name?<\/p><\/div><\/div><div class=\"qs-d-chat__foot\"><span><i class=\"fa-solid fa-lock\"><\/i> SELECT only, checked by the Agent<\/span><span><i class=\"fa-solid fa-list-check\"><\/i> logged on the MCP Activity tab<\/span><span><i class=\"fa-solid fa-database\"><\/i> 9 rows returned across 3 queries<\/span><span class=\"qs-d-chat__foot-clients\"><i class=\"fa-solid fa-plug\"><\/i> Same connection in 14 MCP clients<\/span><\/div><\/div><div class=\"qs-d-note qs-d-note--nova\" data-zone=\"nova\" data-qs-seen=\"nova\"><img loading=\"lazy\" decoding=\"async\" class=\"qs-d-note__avatar\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/03\/nova_head_large-150x150.png\" alt=\"Nova, the Query Streams assistant\" width=\"44\" height=\"44\" loading=\"lazy\"><p><strong>Rather not wire up an AI client at all?<\/strong> On the Business plan, <a href=\"https:\/\/querystreams.com\/features\/text-to-sql\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"nova\">Nova<\/a> is the assistant built into Query Streams itself. It uses the same Agent toolset your AI client gets here, plus what an outside client does not: it drafts and validates the SQL against your Semantic Intelligence model, turns the answer into a chart, and saves the result as a query your team can run from Excel, Google Sheets or the REST API &mdash; no key, no connector, nothing to install. Use MCP when your people already live in Claude, Cursor or ChatGPT; use Nova when you want the answers inside the Portal.<\/p><\/div>\n<p>Google Ads holds your data behind its API. Claude, on the other hand, lives in a browser or a terminal and knows nothing about it. The usual bridge is pasting a schema into the chat and hoping, or handing an open-source MCP server your Google Ads password. Query Streams does it differently: the Agent that already sits with your Google Ads account runs the SQL Claude writes, read-only, and the MCP server in between checks who is asking, what they may do and how often. Claude gets answers. It never gets credentials.<\/p>\n<figure class=\"qs-d-figure\" data-qs-seen=\"flow\"><svg viewBox=\"0 0 900 210\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" aria-label=\"WHERE THE AGENT RUNS: your Google Ads account and the Query Streams Agent, which runs the SQL Claude writes. The Query Streams MCP server checks the key or connection, the scopes and the rate limit, and passes the rows to your AI client.\"><defs><marker id=\"qsArrowM\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto-start-reverse\"><path d=\"M0,0 L10,5 L0,10 z\" fill=\"#6589A6\"\/><\/marker><\/defs><rect x=\"14\" y=\"14\" width=\"380\" height=\"166\" rx=\"16\" fill=\"#ffffff\" stroke=\"#4285f4\" stroke-width=\"2\" stroke-dasharray=\"6 5\"\/><text x=\"32\" y=\"38\" font-family=\"Poppins, sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#174ea6\" letter-spacing=\"1.5\">WHERE THE AGENT RUNS<\/text><text x=\"32\" y=\"54\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#7D8688\">any always-on computer or server with internet<\/text><rect x=\"36\" y=\"72\" width=\"160\" height=\"78\" rx=\"12\" fill=\"#4285f4\" fill-opacity=\".12\" stroke=\"#4285f4\" stroke-width=\"1.5\"\/><text x=\"116\" y=\"99\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#174ea6\">Your Google Ads<\/text><text x=\"116\" y=\"116\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#174ea6\">account<\/text><text x=\"116\" y=\"137\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"12\" fill=\"#4285f4\">keys stay here<\/text><rect x=\"212\" y=\"72\" width=\"160\" height=\"78\" rx=\"12\" fill=\"#13323B\"\/><text x=\"292\" y=\"99\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#ffffff\">Query Streams Agent<\/text><text x=\"292\" y=\"118\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11.5\" fill=\"#a9dfcb\">runs the SQL Claude writes<\/text><text x=\"292\" y=\"134\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11.5\" fill=\"#a9dfcb\">SELECT only, enforced here<\/text><line x1=\"198\" y1=\"111\" x2=\"208\" y2=\"111\" stroke=\"#6589A6\" stroke-width=\"2.5\" marker-end=\"url(#qsArrowM)\"\/><line x1=\"394\" y1=\"111\" x2=\"428\" y2=\"111\" stroke=\"#6589A6\" stroke-width=\"2.5\" stroke-dasharray=\"4 4\" marker-start=\"url(#qsArrowM)\" marker-end=\"url(#qsArrowM)\"\/><rect x=\"432\" y=\"80\" width=\"100\" height=\"62\" rx=\"31\" fill=\"#66C0A3\"\/><text x=\"482\" y=\"102\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"12\" font-weight=\"700\" fill=\"#0b2027\">Query Streams<\/text><text x=\"482\" y=\"118\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"10.5\" fill=\"#0b2027\">MCP server<\/text><line x1=\"534\" y1=\"111\" x2=\"568\" y2=\"111\" stroke=\"#6589A6\" stroke-width=\"2.5\" stroke-dasharray=\"4 4\" marker-start=\"url(#qsArrowM)\" marker-end=\"url(#qsArrowM)\"\/><text x=\"482\" y=\"166\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#6589A6\">checks key, scopes, rate limit &middot; logs every call<\/text><rect x=\"572\" y=\"14\" width=\"314\" height=\"166\" rx=\"16\" fill=\"#ffffff\" stroke=\"#10B981\" stroke-width=\"2\" stroke-dasharray=\"6 5\"\/><text x=\"590\" y=\"38\" font-family=\"Poppins, sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#065F46\" letter-spacing=\"1.5\">WHERE YOU ASK<\/text><text x=\"590\" y=\"54\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#7D8688\">claude.ai, Claude Desktop, Claude Code, Cursor, ChatGPT<\/text><rect x=\"594\" y=\"72\" width=\"270\" height=\"78\" rx=\"12\" fill=\"#10B981\" fill-opacity=\".12\" stroke=\"#10B981\" stroke-opacity=\".6\"\/><text x=\"729\" y=\"104\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#065F46\">Your AI client<\/text><text x=\"729\" y=\"126\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"12\" fill=\"#065F46\">holds a key or a connection, never a password<\/text><\/svg><figcaption>Claude never touches your Google Ads account. It asks the Query Streams MCP server, which relays the request over the outbound connection your Agent already holds open. The Agent runs the query and sends back only the rows.<\/figcaption><\/figure>\n\n<h2 id=\"need\">What you&rsquo;ll need<\/h2>\n<div class=\"qs-d-grid\" data-qs-seen=\"need\"><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-user-plus\"><\/i><\/span><h3>A Query Streams account<\/h3><p>MCP is on every plan, including Free. Free allows one key or one connected app, which is all this guide needs. Sign up at <a href=\"https:\/\/my.querystreams.com\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"signup\">my.querystreams.com<\/a>.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"src\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/08\/icon-googleads.png\" alt=\"\" width=\"22\" height=\"22\" loading=\"lazy\"><\/span><h3>Google Ads connected through the Agent<\/h3><p>The Agent installed on any always-on computer, with the Google Ads connection added in Data Agents.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-toggle-on\"><\/i><\/span><h3>MCP switched on for you<\/h3><p>Creators, owners and admins have it from the start. Everyone else needs an admin to flip the <strong>MCP<\/strong> switch beside their name under <strong>Account &rarr; Access Control<\/strong>. Until then the MCP page says &ldquo;MCP is disabled for your account&rdquo;.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"dst\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/11\/tile-mcp-simple-t2-60.png\" alt=\"\" width=\"22\" height=\"22\" loading=\"lazy\"><\/span><h3>An AI client<\/h3><p>Chat apps such as claude.ai, Claude Desktop and ChatGPT connect with no key. Claude Code, Cursor, VS Code and about ten other tools use a key; the Portal&rsquo;s <strong>Connect an AI client<\/strong> guide sets up each one.<\/p><\/div><\/div><div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-circle-info\"><\/i><p><strong>Where does the work happen?<\/strong> On the computer that runs the Agent. It receives the SQL your AI client wrote, checks it is a SELECT, runs it and returns the rows. So that computer needs to be on when you ask; your own laptop only needs the AI client.<\/p><\/div>\n\n<h2 id=\"steps\">Set it up in four steps<\/h2>\n<ol class=\"qs-d-steps\" data-qs-seen=\"steps\">\n    <li class=\"qs-d-step\" data-qs-step=\"1\" id=\"step-1\">\n      <h3>Open MCP in the portal<\/h3>\n      <p>Sign in at <a href=\"https:\/\/my.querystreams.com\/mcp\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"open_mcp\"><strong>my.querystreams.com<\/strong><\/a> and open <strong>Streams &rarr; Live &rarr; MCP<\/strong>. The page has four tabs: <strong>Connections<\/strong>, <strong>Context<\/strong>, <strong>Tools<\/strong> and, for admins, <strong>Activity<\/strong>. Check the Semantic Intelligence panel on <strong>Connections<\/strong> while you are here: it lists your Google Ads connector and whether Semantic Intelligence has run on it. Complete coverage is what lets Claude write correct Google Ads SQL on the first try.<\/p>\n      <div class=\"qs-d-cta\"><a class=\"qs-d-btn qs-d-btn--primary\" href=\"https:\/\/my.querystreams.com\/mcp\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"open_mcp\"><i class=\"fa-solid fa-plug\"><\/i> Open MCP<\/a><\/div>\n      <div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-circle-info\"><\/i><p><strong>Seeing &ldquo;MCP is disabled for your account&rdquo;?<\/strong> Your organization has MCP but your user is switched off. An admin turns it on with the <strong>MCP<\/strong> switch beside your name under <strong>Account &rarr; Access Control<\/strong>. Creators, owners and admins are on from the start.<\/p><\/div>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"2\" id=\"step-2\">\n      <h3>Choose how you will connect<\/h3>\n      <p>There are two ways in, and they end at the same place:<\/p>\n<div class=\"qs-d-modes\" data-qs-seen=\"ways\"><div class=\"qs-d-card\" data-zone=\"dst\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-pill\">Chat apps &middot; no key<\/span><h3>claude.ai, Claude Desktop, ChatGPT<\/h3><p>In claude.ai and Claude Desktop, open the <a href=\"https:\/\/claude.ai\/directory\/query-streams\" target=\"_blank\" rel=\"noopener\">Query Streams listing<\/a> in Anthropic&rsquo;s Connectors Directory, click <strong>Connect<\/strong> and approve. Adding it by URL, <code>https:\/\/mcp.querystreams.com\/mcp<\/code>, is the fallback. In ChatGPT you add Query Streams from the app (developer mode for now) and sign in with Query Streams. Either way a Query Streams page opens: pick the organization and the permissions and click <strong>Approve connection<\/strong>. Nothing to copy. The connection appears on the <strong>Connections<\/strong> tab and can be revoked there.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-pill\">Developer tools &middot; a key<\/span><h3>Claude Code, Cursor, VS Code and friends<\/h3><p>On the MCP page click <strong>Connect an AI client<\/strong>. The guide asks <strong>How will your AI client connect?<\/strong>: choose <strong>Use a key in a config file<\/strong>, pick your tool, then <strong>Generate a key for<\/strong> it: a <strong>Key name<\/strong>, <strong>Read<\/strong> and <strong>Run queries<\/strong> ticked, an <strong>Expiration<\/strong> (Never, 30 days, 90 days or 1 year). <strong>Set it up<\/strong> shows the snippet with the key filled in, and <strong>Check the connection<\/strong> waits for the first call.<\/p><\/div><\/div><p>Both ways use the same three permissions, which you choose on the consent screen or on the key:<\/p><dl class=\"qs-d-kv\"><dt>Read<\/dt><dd>List connectors, browse tables and columns, read your saved queries and alert rules. Never returns row data.<\/dd><dt>Run queries<\/dt><dd>Run read-only SQL and saved queries through your Agent and return the rows. Without it your AI client can describe your data but not answer from it.<\/dd><dt>Analyze<\/dt><dd>Profile tables, discover relationships and queue a Semantic Intelligence run. Profiling and discovery are free; a Semantic Intelligence run spends Nova AI credits and data allowance, so the consent screen never pre-ticks it.<\/dd><\/dl><div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-circle-info\"><\/i><p><strong>Lost the key?<\/strong> It is listed on the <strong>Connections<\/strong> tab: <strong>Reveal full key<\/strong> shows it again and <strong>Copy full key<\/strong> copies it. Revoke it there if a laptop goes missing; every client using it fails on its next call, within about five minutes.<\/p><\/div>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"3\" id=\"step-3\">\n      <h3>Connect Claude<\/h3>\n      <p>Pick the recipe for the Claude you use. The server address is the same everywhere: <code>https:\/\/mcp.querystreams.com\/mcp<\/code>.<\/p>\n<div class=\"qs-d-recipes\" data-qs-seen=\"connect\"><div class=\"qs-d-recipe\" data-zone=\"dst\"><h4><span class=\"qs-d-chip\"><i class=\"fa-solid fa-comment\"><\/i><\/span> Claude on the web, Claude Desktop and mobile <span class=\"qs-d-pill\">no key<\/span><\/h4><ol><li>Open the <a href=\"https:\/\/claude.ai\/directory\/query-streams\" target=\"_blank\" rel=\"noopener\">Query Streams listing<\/a> in Anthropic&rsquo;s Connectors Directory and click <strong>Connect<\/strong>. In Desktop it then sits under <strong>+<\/strong> &rarr; <strong>Connectors<\/strong>.<\/li><li>Fallback, if your organization hides directory connectors: <strong>Settings &rarr; Connectors &rarr; Add custom connector<\/strong>, name <strong>Query Streams<\/strong>, URL <code>https:\/\/mcp.querystreams.com\/mcp<\/code>, OAuth fields empty, <strong>Add<\/strong>; then in a chat <strong>+<\/strong> &rarr; <strong>Query Streams<\/strong> &rarr; <strong>Connect<\/strong>.<\/li><li>A Query Streams tab opens. Sign in if asked, pick the organization, review <strong>Read<\/strong> and <strong>Run queries<\/strong>, optionally <strong>Limit to specific connectors<\/strong>, and click <strong>Approve connection<\/strong>.<\/li><li>Back in Claude you see &ldquo;Connected to Query Streams&rdquo;. The first time Claude uses a tool it asks; choose <strong>Always allow<\/strong>.<\/li><\/ol><p class=\"qs-d-recipe__note\"><i class=\"fa-solid fa-triangle-exclamation\"><\/i> If you do add it by hand in Claude Desktop, use <strong>Settings &rarr; Connectors &rarr; Add<\/strong>, not the in-chat <strong>Add marketplace<\/strong> option, which expects a git repository. Connectors sync to your Claude account, so the mobile apps and Desktop pick it up automatically. Menu names are Anthropic&rsquo;s and can move.<\/p><\/div><div class=\"qs-d-recipe\" data-zone=\"mint\"><h4><span class=\"qs-d-chip\"><i class=\"fa-solid fa-terminal\"><\/i><\/span> Claude Code <span class=\"qs-d-pill\">key<\/span><\/h4><p>One command, with your key from the Connections tab:<\/p><div class=\"qs-d-code\" data-qs-hover=\"code\"><div class=\"qs-d-code__hdr\">Terminal<\/div><pre class=\"qs-d-code__body\">claude mcp add --transport http querystreams https:\/\/mcp.querystreams.com\/mcp \\\n  --header \"X-MCP-Key: qsmcp_PASTE_YOUR_KEY_HERE\"<\/pre><\/div><p>That writes the current project&rsquo;s <code>.mcp.json<\/code>. Add <code>--scope user<\/code> to have Query Streams in every project. Run <code>\/mcp<\/code> inside Claude Code to see it connected.<\/p><\/div><div class=\"qs-d-recipe\" data-zone=\"slate\"><h4><span class=\"qs-d-chip\"><i class=\"fa-solid fa-code\"><\/i><\/span> Cursor <span class=\"qs-d-pill\">key<\/span><\/h4><p>Open <strong>Cursor Settings &rarr; MCP &rarr; Add New MCP Server<\/strong>, or edit <code>.cursor\/mcp.json<\/code> at the root of your workspace:<\/p><div class=\"qs-d-code\" data-qs-hover=\"code\"><div class=\"qs-d-code__hdr\">.cursor\/mcp.json<\/div><pre class=\"qs-d-code__body\">{\n  \"mcpServers\": {\n    \"querystreams\": {\n      \"url\": \"https:\/\/mcp.querystreams.com\/mcp\",\n      \"headers\": {\n        \"X-MCP-Key\": \"qsmcp_PASTE_YOUR_KEY_HERE\"\n      }\n    }\n  }\n}<\/pre><\/div><p>Restart Cursor or run <strong>MCP: Restart Servers<\/strong>; a <code>querystreams<\/code> badge appears in the MCP status bar.<\/p><\/div><\/div><div class=\"qs-d-note\" data-zone=\"mint\"><i class=\"fa-solid fa-plug\"><\/i><p><strong>Using something else?<\/strong> The Portal&rsquo;s <a href=\"https:\/\/my.querystreams.com\/mcp?tab=connections&#038;guide=1\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"connect_tab\"><strong>Connect an AI client<\/strong> guide<\/a> has ready-to-paste recipes for ChatGPT, VS Code, Visual Studio, OpenAI Codex CLI, Gemini CLI, Windsurf, Zed, Cline, Continue.dev and JetBrains AI, plus a <strong>Paste &amp; merge<\/strong> tool that drops the <code>querystreams<\/code> entry into a config file you already have. Any client that speaks MCP over HTTP works: server <code>https:\/\/mcp.querystreams.com\/mcp<\/code>, header <code>X-MCP-Key<\/code> (an <code>Authorization: Bearer<\/code> header with the same key also works).<\/p><\/div>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"4\" id=\"step-4\">\n      <h3>Ask your first question<\/h3>\n      <p>Start with something you already know the answer to, so you can see Claude reach for the right tool. Three that work well with your Google Ads account:<\/p>\n      <dl class=\"qs-d-kv qs-d-prompts\">\n        <dt>&ldquo;What data do I have in my Google Ads account?&rdquo;<\/dt><dd>Claude lists the tables it can see, tells you which have Semantic Intelligence, and asks what you want to look at.<\/dd>\n        <dt>&ldquo;Show me ten rows from google_ads.campaign_performance and explain each column.&rdquo;<\/dt><dd>Claude reads the table structure first (Read), then runs one SELECT through your Agent (Run queries) and describes what impressions and clicks mean.<\/dd>\n        <dt>&ldquo;How many rows does google_ads.campaign_performance have per clicks? Which clicks has the most?&rdquo;<\/dt><dd>Claude writes the GROUP BY in Google Ads&rsquo;s dialect, runs it, and answers in a sentence with a small table. Follow up in the same chat; it keeps the context.<\/dd>\n      <\/dl>\n      <p>To confirm the wiring, ask <em>&ldquo;What Query Streams connectors do I have?&rdquo;<\/em>. Claude calls <code>qs_list_connectors<\/code>, the Portal guide&rsquo;s <strong>Check the connection<\/strong> step says <strong>Connected<\/strong>, and the key or app on the <strong>Connections<\/strong> tab shows its <strong>Last used<\/strong> time within a few seconds.<\/p>\n    <\/li>\n<\/ol>\n\n<div class=\"qs-d-note\" data-zone=\"mint\"><i class=\"fa-solid fa-circle-check\"><\/i><p><strong>That&rsquo;s it.<\/strong> Claude now answers from your Google Ads account whenever you ask, in whatever Claude you opened. Nothing left your network except the rows a question needed, and nobody typed a password into an AI.<\/p><\/div>\n\n<h2 id=\"tools\">What Claude can do once connected<\/h2>\n<p>Your AI client sees the Query Streams tools; it picks the right one for your question. The Portal&rsquo;s <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><strong>Tools<\/strong> tab<\/a> lists every tool and mode with what your plan includes. Query Streams asks your AI client to read the columns of each table before it queries, so it writes the real names instead of guessing. On every plan, Free included:<\/p><div class=\"qs-d-grid\" data-qs-seen=\"tools\"><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-sitemap\"><\/i><\/span><h3>Map your data<\/h3><p>Connectors, databases and Agents; the tables and columns of your Google Ads account with descriptions, sample values and joins once Semantic Intelligence has run.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"slate\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-magnifying-glass-chart\"><\/i><\/span><h3>Profile and explore<\/h3><p>Profile a column before filtering on it; discover joins nobody declared. Live runs need Analyze.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"dst\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-terminal\"><\/i><\/span><h3>Run read-only SQL<\/h3><p>A SELECT in the right dialect for Google Ads, 60 seconds by default and five minutes at most. Your plan sets the most rows one query returns. (Run queries)<\/p><\/div><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-bookmark\"><\/i><\/span><h3>Saved queries, federated and alerts<\/h3><p>Run the saved queries your team trusts with new values; federated ones come back already joined. Read alert rules and draft one as a dry run.<\/p><\/div><\/div><p><strong>The Analytic toolset.<\/strong> On paid plans the Agent does the groundwork where your Google Ads account lives, so your AI client spends its attention on the thinking. Free works as it always has.<\/p><div class=\"qs-d-grid\" data-qs-seen=\"toolset\"><div class=\"qs-d-card\" data-zone=\"slate\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-ruler-combined\"><\/i><\/span><h3>Context management<\/h3><span class=\"qs-d-pill\">Personal Core and up<\/span><p>Size a result before reading it (<a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_run_query%2Fshape\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>shape<\/code><\/a>), walk a large database area by area (<a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_get_connector_schema%2Flevels\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>levels<\/code><\/a>), and keep answers inside a token budget with only the <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_run_query%2Fcolumns\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>columns<\/code><\/a> and cell lengths it needs.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-layer-group\"><\/i><\/span><h3>Result analysis<\/h3><span class=\"qs-d-pill\">Personal Core and up<\/span><p>A <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_run_query%2Fprofile\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>profile<\/code><\/a> of the whole result instead of rows. <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_run_query%2Fhold\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>Held results<\/code><\/a> with labels answer follow-ups and group-by totals with no second query. <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_data_freshness\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>Data freshness<\/code><\/a> and <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_run_query%2Fchanged-since\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>changed-since<\/code><\/a> read only what is new.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"dst\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-chart-line\"><\/i><\/span><h3>Deeper analysis<\/h3><span class=\"qs-d-pill\">Business Core and up<\/span><p>A data <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_run_query%2Fquality\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>quality<\/code><\/a> report, <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_result\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>anomalies<\/code><\/a>, <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_result\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>segments<\/code><\/a>, a statistical <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_result\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>compare<\/code><\/a> and a <a href=\"https:\/\/my.querystreams.com\/mcp?tab=tools&amp;tool=mcp%2Ftools%2Fqs_result\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"tools_tab\"><code>diff<\/code><\/a> between two held results.<\/p><\/div><\/div><p>The defaults live on the <a href=\"https:\/\/my.querystreams.com\/mcp?tab=context\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"context_tab\"><strong>Context<\/strong> tab<\/a>: text cell limit, schema view, result size, analysis defaults and held results.<\/p><details class=\"qs-d-toolist\"><summary>The tool names, if you want to recognise them in your AI client&rsquo;s replies<\/summary><table class=\"qs-d-table\"><thead><tr><th>Permission<\/th><th>Tools<\/th><\/tr><\/thead><tbody><tr><td><strong>Read<\/strong><\/td><td><code>qs_list_organizations<\/code> <code>qs_list_agents<\/code> <code>qs_list_connectors<\/code> <code>qs_get_si_status<\/code> <code>qs_get_connector_schema<\/code> <code>qs_find_tables<\/code> <code>qs_get_table_schema<\/code> <code>qs_get_relationships<\/code> <code>qs_profile_table<\/code> <code>qs_discover_relationships<\/code> <code>qs_list_saved_queries<\/code> <code>qs_alerts<\/code> <code>qs_result<\/code> (op=windows)<\/td><\/tr><tr><td><strong>Analyze<\/strong><\/td><td><code>qs_request_si_analysis<\/code> <code>qs_setup_si<\/code> <code>qs_get_task_status<\/code>, listed only to keys with Analyze; live runs of <code>qs_profile_table<\/code> and <code>qs_discover_relationships<\/code><\/td><\/tr><tr><td><strong>Run queries<\/strong><\/td><td><code>qs_run_query<\/code> <code>qs_run_saved_query<\/code> <code>qs_data_freshness<\/code> <code>qs_result<\/code> (every other op) <code>qs_result_release<\/code> <code>qs_create_alert_rule<\/code> (proposes only)<\/td><\/tr><\/tbody><\/table><\/details>\n\n<h2 id=\"si\">Why Semantic Intelligence matters here<\/h2>\n<p>Every answer Claude receives is tagged with where the structure came from, and Claude adjusts how much it trusts what it sees.<\/p><table class=\"qs-d-table\" data-qs-seen=\"tiers\"><thead><tr><th>Tier<\/th><th>What Claude sees<\/th><th>Result<\/th><\/tr><\/thead><tbody><tr><td><strong><a href=\"https:\/\/querystreams.com\/features\/semantic-layer\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"si_feature\">Semantic Intelligence<\/a><\/strong><\/td><td>Descriptions for every table and column, sample values, enum meanings, declared and discovered joins.<\/td><td>Claude writes the right Google Ads SQL first time and explains the data in your business terms.<\/td><\/tr><tr><td><strong>Captured schema<\/strong><\/td><td>Table and column names, types, keys.<\/td><td>Claude works, but infers meaning from names and may ask a follow-up.<\/td><\/tr><tr><td><strong>Live schema<\/strong><\/td><td>The database is outside the connector&rsquo;s capture selection, so structure is read live on each request (needs the Run queries permission; SQL Server, MySQL and PostgreSQL).<\/td><td>Queries still run. Claude explores with small selects when it needs more.<\/td><\/tr><\/tbody><\/table><p>If a database matters, run Semantic Intelligence on it once from <a href=\"https:\/\/my.querystreams.com\/nova\/intelligence\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"nova_intelligence\">Nova &rarr; Intelligence<\/a>. The <strong>Connections<\/strong> tab shows a coverage panel per connector. <a href=\"https:\/\/querystreams.com\/docs\/nova-ai-schema-intelligence\/\" data-qs-cta=\"si_guide\">How Semantic Intelligence works<\/a>.<\/p>\n\n<h2 id=\"plans\">What the plans allow<\/h2>\n<p>MCP is on every plan, including Free, with no separate fee. What each plan sets is how many keys or connected apps you can hold and how many calls a minute your AI client may make:<\/p><table class=\"qs-d-table qs-d-table--plans qs-d-table--mcp\" data-qs-seen=\"limits\"><thead><tr><th>Plan<\/th><th>Keys per user<\/th><th>Keys per organization<\/th><th>Calls per minute<\/th><\/tr><\/thead><tbody><tr><td>Free<\/td><td class=\"num\">1<\/td><td class=\"num\">1<\/td><td class=\"num\">30<\/td><\/tr><tr><td>Personal Core<\/td><td class=\"num\">1<\/td><td class=\"num\">1<\/td><td class=\"num\">60<\/td><\/tr><tr><td>Personal Plus<\/td><td class=\"num\">1<\/td><td class=\"num\">1<\/td><td class=\"num\">90<\/td><\/tr><tr><td>Business Core<\/td><td class=\"num\">2<\/td><td class=\"num\">3<\/td><td class=\"num\">120<\/td><\/tr><tr><td>Business Plus<\/td><td class=\"num\">3<\/td><td class=\"num\">5<\/td><td class=\"num\">150<\/td><\/tr><tr><td>Business Max<\/td><td class=\"num\">5<\/td><td class=\"num\">10<\/td><td class=\"num\">240<\/td><\/tr><tr><td>Enterprise Core<\/td><td class=\"num\">5<\/td><td class=\"num\">25<\/td><td class=\"num\">300<\/td><\/tr><tr><td>Enterprise Plus<\/td><td class=\"num\">8<\/td><td class=\"num\">50<\/td><td class=\"num\">450<\/td><\/tr><tr><td>Enterprise Max<\/td><td class=\"num\">10<\/td><td class=\"num\">100<\/td><td class=\"num\">600<\/td><\/tr><\/tbody><\/table><p>A connected app counts as a key. On top of the per-minute figure, any one key may run at most 10 queries a minute. A query runs for up to 60 seconds unless your AI client asks for more, up to five minutes. Your plan also sets how many rows one query returns and, with the Analytic toolset, how long and how large a held result may be; <a href=\"https:\/\/querystreams.com\/docs\/connect-query-streams-to-claude-mcp\/#plans\" data-qs-cta=\"hub_plans\">the full MCP guide<\/a> lists every plan. What your AI client receives counts against your Data Realm allowance, the same pool your Excel and Sheets queries use: AI-agent (MCP) usage counts every byte delivered to your AI client, results, schema reads and held-result pages alike, before any transport compression your client negotiates, where spreadsheet queries count the compressed result your Network Agent delivers. Semantic Intelligence runs started from your AI client spend Nova AI credits, exactly as they do from the Portal. <a href=\"https:\/\/querystreams.com\/pricing\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"pricing\">See the pricing page<\/a> for the allowances.<\/p>\n\n<h2 id=\"safety\">Keeping it safe<\/h2>\n<div class=\"qs-d-grid\" data-qs-seen=\"safety\"><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-lock\"><\/i><\/span><h3>Read-only, checked by the Agent<\/h3><p>Only SELECT statements run. The check happens on the computer that runs the Agent, before your Google Ads account sees the SQL, so nothing your AI client writes can change data.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"src\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-key\"><\/i><\/span><h3>No credentials in the AI<\/h3><p>The Google Ads login stays on the Agent. Claude holds a Query Streams key or connection, which you can revoke from the MCP page; the change takes effect within about five minutes.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"slate\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-list-check\"><\/i><\/span><h3>Everything is logged<\/h3><p>Every tool call appears on the MCP <strong>Activity<\/strong> tab and every query in Query History as client type MCP, attributed to the person whose key or connection made it. The SQL text and the key itself are never written to the activity log.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"dst\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-eye\"><\/i><\/span><h3>What the AI provider receives<\/h3><p>Table and column names, the Semantic Intelligence descriptions including sample values, and the rows of the queries you ask for. With the Analytic toolset it often gets a size estimate, a profile or a held-result answer instead, and the full result stays with the Agent. What it gets goes to the AI provider you connected, under its terms. Query Streams never sees your chat.<\/p><\/div><\/div>\n\n<h2 id=\"next\">Good next moves<\/h2>\n<ul>\n  <li><strong>Save the queries you consider canonical<\/strong> in Query Builder. Claude reaches for saved queries first, so &ldquo;active customers&rdquo; means what your team says it means.<\/li>\n  <li><strong>Use a Claude Project<\/strong> with Query Streams attached and put your house rules in its instructions: which Google Ads database to use by default, which saved queries are the official definitions.<\/li>\n  <li><strong>Grant Analyze when you want deeper answers.<\/strong> Profiling a column before filtering on it is the difference between guessing a status code and using the right one. It spends Nova AI credits, so it is off until you say so.<\/li>\n  <li><strong>Ask for a chart.<\/strong> claude.ai draws charts from the rows Claude gets back.<\/li>\n<\/ul>\n\n<h2 id=\"trouble\">When something doesn&rsquo;t work<\/h2>\n<table class=\"qs-d-table\" data-qs-seen=\"trouble\"><thead><tr><th>What you see<\/th><th>What it means<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>Your AI client shows no Query Streams tools<\/td><td>The connector was added but never connected, or the key was pasted into the wrong place.<\/td><td>In Claude: <strong>+<\/strong> &rarr; Query Streams &rarr; <strong>Connect<\/strong>. In a developer tool: restart it, then use <strong>Check the connection<\/strong> in the Portal guide.<\/td><\/tr><tr><td><code>MCP_KEY_REQUIRED<\/code> or 401<\/td><td>No key reached the server, usually a stray newline from copy and paste or the key in the wrong header.<\/td><td>Copy the key again from the Connections tab and send it in the <code>X-MCP-Key<\/code> header.<\/td><\/tr><tr><td><code>MCP_USER_DISABLED<\/code><\/td><td>An admin switched MCP off for your user.<\/td><td>Ask them to turn the <strong>MCP<\/strong> switch back on under <strong>Account &rarr; Access Control<\/strong>.<\/td><\/tr><tr><td><code>MCP_SCOPE_REQUIRED<\/code> or <code>MCP_SCOPE_DENIED<\/code><\/td><td>The key or connection lacks the permission for that action, usually Run queries.<\/td><td>Edit the key on the Connections tab and tick <strong>Run queries<\/strong>, or reconnect the app and approve it.<\/td><\/tr><tr><td><code>MCP_KEY_ORG_LIMIT_EXCEEDED<\/code><\/td><td>Your plan&rsquo;s key limit is used up. On Free that is one key or one connected app.<\/td><td>Revoke one you no longer use, or move up a plan.<\/td><\/tr><tr><td><code>MCP_AGENT_NOT_CONNECTED<\/code> or <code>MCP_AGENT_NOT_REGISTERED<\/code><\/td><td>The Agent that owns your Google Ads account is not connected right now.<\/td><td>Open <strong>Data &rarr; Data Agents<\/strong> and start the Agent on its computer.<\/td><\/tr><tr><td><code>MCP_DATABASE_NOT_CAPTURED<\/code><\/td><td>The database is outside the connector&rsquo;s capture selection, so there is no stored schema or Semantic Intelligence for it. Queries still work.<\/td><td>Add it to the capture selection on the connector, then run Semantic Intelligence if you want richer answers.<\/td><\/tr><tr><td><code>MCP_RATE_LIMITED<\/code><\/td><td>Too many calls a minute for your plan, or more than 10 query runs a minute on one key.<\/td><td>Wait a moment. Semantic Intelligence lets Claude answer in fewer calls.<\/td><\/tr><tr><td><code>MCP_QUERY_TIMEOUT<\/code> or <code>MCP_OUTPUT_TOO_LARGE<\/code><\/td><td>The query ran past its timeout or returned more than your AI client can take in one reply.<\/td><td>Ask for fewer rows or columns, or a date filter. On plans with Context management, ask it to size the result first.<\/td><\/tr><tr><td><code>MCP_DATA_REALM_EXHAUSTED<\/code><\/td><td>Your organization&rsquo;s data allowance for the period is used up.<\/td><td>Wait for the allowance to reset or top it up from the Portal.<\/td><\/tr><tr><td><code>MCP_FEATURE_NOT_INCLUDED<\/code><\/td><td>Your plan does not include Context management, Result analysis or Deeper analysis, or that tool is switched off for this key or organization.<\/td><td>Ask your AI client to carry on without it, move up a plan, or ask an admin to switch the tool on.<\/td><\/tr><tr><td><code>MCP_RESULT_EXPIRED<\/code><\/td><td>The held result is no longer held: it expired, was released (sometimes early, to make room for a newer one) or the Agent restarted.<\/td><td>Ask your AI client to run the query again with hold.<\/td><\/tr><tr><td><code>MCP_WINDOW_BUDGET<\/code><\/td><td>The Agent cannot keep a result that size right now, or a follow-up needs more memory than it allows.<\/td><td>Release a held result, or narrow the query with a filter or fewer columns.<\/td><\/tr><tr><td><code>MCP_AGENT_ANALYSIS_DISABLED<\/code><\/td><td>Held results and analysis are switched off on that Agent or connector.<\/td><td>Ask an admin to turn on <strong>Local analysis<\/strong> on the Data Agents page, or allow analysis on the connector.<\/td><\/tr><tr><td><code>MCP_WINDOW_SQL_REJECTED<\/code><\/td><td>A follow-up was not one read-only SELECT over the held result, or named a column the result does not have.<\/td><td>Ask for one SELECT over that result, using its column names.<\/td><\/tr><tr><td><code>MCP_AGENT_VERSION_TOO_OLD<\/code><\/td><td>The Agent needs an update before it can shape, profile, hold or analyze results.<\/td><td>Update the Agent from <strong>Data &rarr; Data Agents<\/strong>; plain queries keep working meanwhile.<\/td><\/tr><tr><td>Read-only violation<\/td><td>The SQL was not a SELECT.<\/td><td>By design. Nothing writes through MCP.<\/td><\/tr><\/tbody><\/table>\n\n<h2 id=\"faq\">Questions people ask<\/h2>\n<div class=\"qs-d-faq\" data-qs-seen=\"faq\"><details><summary>Can Claude change my Google Ads data?<\/summary><div class=\"qs-d-faq__a\"><p>No. The Agent accepts only SELECT statements and checks that before the SQL runs. Claude can queue a Semantic Intelligence run or draft an alert rule as a dry run; both write to Query Streams metadata, never to your Google Ads account.<\/p><\/div><\/details><details><summary>Do I need to open a port or run a VPN?<\/summary><div class=\"qs-d-faq__a\"><p>No. The Agent makes one outbound connection on port 443 and both requests and rows travel over it. If outbound HTTPS works, MCP works.<\/p><\/div><\/details><details><summary>Does the Free plan really cover this?<\/summary><div class=\"qs-d-faq__a\"><p>Yes. Free is a plan you keep, not a trial that expires. MCP is included on every plan; Free allows one key or one connected app and 30 calls a minute. See exactly what Free includes on the <a href=\"https:\/\/querystreams.com\/pricing\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"pricing\">pricing page<\/a>.<\/p><\/div><\/details><details><summary>Which plans include the Analytic toolset?<\/summary><div class=\"qs-d-faq__a\"><p>Context management and Result analysis come with Personal Core and up; Deeper analysis with Business Core and up. The Free plan works as it always has, with standard results. Held results grow with the plan, up to eight hours and 4,096 MB on Enterprise.<\/p><\/div><\/details><details><summary>Which AI tools work besides Claude?<\/summary><div class=\"qs-d-faq__a\"><p>Anything that speaks MCP over HTTP: ChatGPT, Cursor, VS Code with Copilot, Visual Studio, OpenAI Codex CLI, Gemini CLI, Windsurf, Zed, Cline, Continue.dev and JetBrains AI all have a ready-made recipe in the Portal&rsquo;s Connect an AI client guide.<\/p><\/div><\/details><details><summary>Does Claude see the whole organization?<\/summary><div class=\"qs-d-faq__a\"><p>A key reaches every connector your organization has. A connected app can be limited to specific connectors when you approve it. Each key or connection belongs to one organization; connect once per organization you need.<\/p><\/div><\/details><details><summary>What is the difference between this and Nova?<\/summary><div class=\"qs-d-faq__a\"><p>Nova is the assistant inside the Query Streams Portal and shares the same Semantic Intelligence model. Use Nova when you want answers inside Query Streams; use MCP when you want your data inside Claude next to everything else you do there.<\/p><\/div><\/details><\/div>\n<div class=\"qs-d-faq\">\n    <details><summary>Does Claude know Google Ads&rsquo;s SQL dialect?<\/summary><div class=\"qs-d-faq__a\"><p>Yes. Every schema answer tells Claude which connector type it is looking at, and Claude writes SQL for that engine. With Semantic Intelligence it also sees column descriptions and sample values, so it stops guessing what a status code or an abbreviation means.<\/p><\/div><\/details>\n    <details><summary>Does my Google Ads account have to be on the same computer as Claude?<\/summary><div class=\"qs-d-faq__a\"><p>No. Only the Agent has to be where your Google Ads account is, or on any always-on computer with internet access. Claude can be on your laptop, your phone or a server somewhere else; it only ever talks to Query Streams.<\/p><\/div><\/details>\n<\/div>\n\n<div class=\"qs-d-support qs-d-support--foot\" data-zone=\"mint\" data-qs-seen=\"support\"><span class=\"qs-d-chip\"><i class=\"fa-solid fa-life-ring\"><\/i><\/span><div class=\"qs-d-support__body\"><strong>Still stuck?<\/strong> Open <a href=\"https:\/\/my.querystreams.com\/support\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"support\">Support<\/a> in Query Streams and tell us which step you are on and what you see. We will get you connected.<\/div><\/div>\n<div class=\"qs-d-cta\"><a class=\"qs-d-btn qs-d-btn--primary\" href=\"https:\/\/my.querystreams.com\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"signup\"><i class=\"fa-solid fa-user-plus\"><\/i> Create your Free plan account<\/a><a class=\"qs-d-btn qs-d-btn--ghost\" href=\"https:\/\/querystreams.com\/pricing\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"pricing\">See what Free includes<\/a><\/div>\n\n<h2 id=\"related\">Related guides<\/h2>\n<ul class=\"qs-d-related\">\n    <li><a href=\"https:\/\/querystreams.com\/docs\/how-to-query-stripe-with-claude-via-mcp\/\" data-qs-cta=\"related\">Connect Stripe to Claude with MCP<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/how-to-query-hubspot-with-claude-via-mcp\/\" data-qs-cta=\"related\">Connect HubSpot to Claude with MCP<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/how-to-query-shopify-with-claude-via-mcp\/\" data-qs-cta=\"related\">Connect Shopify to Claude with MCP<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/how-to-query-google-analytics-4-with-claude-via-mcp\/\" data-qs-cta=\"related\">Connect Google Analytics 4 to Claude with MCP<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/connect-query-streams-to-claude-mcp\/\" data-qs-cta=\"related\">Connect Query Streams to Claude via MCP: setup, permissions and troubleshooting<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs-category\/mcp-server\/\" data-qs-cta=\"related\">All MCP guides<\/a><\/li>\n  <\/ul>\n<div class=\"qs-d-also\" data-qs-seen=\"also\"><span>The same Google Ads connection also feeds<\/span><a href=\"https:\/\/querystreams.com\/features\/databases-in-excel-and-google-sheets\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"feature\">Excel and Google Sheets<\/a><a href=\"https:\/\/querystreams.com\/features\/automation-integration\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"feature\">Automation<\/a><a href=\"https:\/\/querystreams.com\/features\/database-rest-api\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"feature\">the REST API<\/a><a href=\"https:\/\/querystreams.com\/docs\/connect-query-streams-to-claude-mcp\/\" data-qs-cta=\"hub_guide\">the full MCP setup guide<\/a><\/div>\n<\/article>\n<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"HowTo\",\"name\":\"Connect Google Ads to Claude with MCP\",\"description\":\"Step-by-step guide to connect Google Ads to Claude, Claude Code, Cursor or any MCP client through Query Streams: read-only, no credentials in the AI, on the Free plan.\",\"totalTime\":\"PT10M\",\"step\":[{\"@type\":\"HowToStep\",\"position\":1,\"name\":\"Open MCP in the Query Streams portal\",\"text\":\"Sign in at my.querystreams.com and open Streams, Live, MCP. If the page says MCP is disabled for your account, ask an admin to switch it on under Account, Access Control.\",\"url\":\"https:\/\/querystreams.com\/docs\/how-to-query-google-ads-with-claude-via-mcp\/#step-1\"},{\"@type\":\"HowToStep\",\"position\":2,\"name\":\"Choose how to connect\",\"text\":\"Chat apps such as claude.ai, Claude Desktop and ChatGPT connect with no key. For developer tools such as Claude Code and Cursor, click Connect an AI client on the MCP page, choose Use a key in a config file and generate a key with Read and Run queries.\",\"url\":\"https:\/\/querystreams.com\/docs\/how-to-query-google-ads-with-claude-via-mcp\/#step-2\"},{\"@type\":\"HowToStep\",\"position\":3,\"name\":\"Connect Claude\",\"text\":\"In claude.ai or Claude Desktop open the Query Streams listing in the Anthropic Connectors Directory, click Connect and approve the connection. If your organization hides directory connectors, add a custom connector with https:\/\/mcp.querystreams.com\/mcp. In Claude Code run claude mcp add with the X-MCP-Key header.\",\"url\":\"https:\/\/querystreams.com\/docs\/how-to-query-google-ads-with-claude-via-mcp\/#step-3\"},{\"@type\":\"HowToStep\",\"position\":4,\"name\":\"Ask your first question\",\"text\":\"Ask Claude what data you have in Google Ads, then a question about a table. Claude reads the schema, runs a read-only query through your Agent and answers with the rows.\",\"url\":\"https:\/\/querystreams.com\/docs\/how-to-query-google-ads-with-claude-via-mcp\/#step-4\"}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[193],"doc_tag":[200,195,196,204,208,194,205,206],"class_list":["post-4988","docs","type-docs","status-publish","hentry","doc_category-mcp-server","doc_tag-api-connector","doc_tag-claude","doc_tag-cursor","doc_tag-google-ads","doc_tag-marketing-analytics","doc_tag-mcp","doc_tag-paid-search","doc_tag-ppc"],"year_month":"2026-12","word_count":989,"total_views":"350","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"systemz","author_nicename":"systemz","author_url":"https:\/\/querystreams.com\/fr\/author\/systemz\/"},"doc_category_info":[{"term_name":"MCP Server","term_url":"https:\/\/querystreams.com\/fr\/docs-category\/mcp-server\/"}],"doc_tag_info":[{"term_name":"api-connector","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/api-connector\/"},{"term_name":"claude","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/claude\/"},{"term_name":"cursor","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/cursor\/"},{"term_name":"google-ads","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/google-ads\/"},{"term_name":"marketing-analytics","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/marketing-analytics\/"},{"term_name":"mcp","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/mcp\/"},{"term_name":"paid-search","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/paid-search\/"},{"term_name":"ppc","term_url":"https:\/\/querystreams.com\/fr\/docs-tag\/ppc\/"}],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false,"betterdocs-category-thumb":false},"uagb_author_info":{"display_name":"systemz","author_link":"https:\/\/querystreams.com\/fr\/author\/systemz\/"},"uagb_comment_info":0,"uagb_excerpt":null,"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/docs\/4988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/comments?post=4988"}],"version-history":[{"count":3,"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/docs\/4988\/revisions"}],"predecessor-version":[{"id":7908,"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/docs\/4988\/revisions\/7908"}],"wp:attachment":[{"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/media?parent=4988"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/doc_category?post=4988"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/querystreams.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=4988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}