Marketing & analytics · Claude Code
Connect Microsoft Advertising to Claude Code
Bring Bing Ads performance into the same conversation as Google Ads. Plugsight links Microsoft Ads to Claude Code in a few minutes, with no code and no exports.
What you can ask Claude Code about Microsoft Ads
How to connect Microsoft Ads to Claude Code
- Create a free Plugsight account.
- Sign in with Microsoft. Plugsight finds every Microsoft Advertising account your login can access.
Then add Plugsight to Claude Code
- In Plugsight, open MCP servers, create one and copy its URL.
- Add it to Claude Code (use your server's URL):
claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID - Start Claude Code, type /mcp, choose plugsight and then Authenticate. Your browser opens Plugsight: sign in and click Allow access.
- Add --scope user before the name to use it in every project. Run /mcp again to check that Plugsight is connected.
- No browser (a server or a script)? Create an API key on the MCP server's page and add the server with it instead:
claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID --header "Authorization: Bearer YOUR_API_KEY"
Claude Code signs in to Plugsight in your browser: you approve it once. Where no browser can open, use an API key instead. Works with any Claude Code setup.
Full steps and troubleshooting in the docs: Claude Code.
Microsoft Ads data available
- Campaign, ad group, keyword, search query, ad and geographic performance
- Cost, clicks, impressions, conversions, revenue, CPA and ROAS
- Quality score and its components for keywords
- Impression share and share lost to budget or rank
- Age, gender, audiences and where searchers actually were
- Shopping products and Performance Max asset groups
- Daily, weekly or monthly trends, plus hour of day and day of week
- Campaign settings: status, type, budget and bidding strategy
Ready-made analyses
- Wasted spend: Non-converting search terms and keywords, and negative-keyword candidates.
- Scale opportunities: Converting keywords and campaigns held back by budget or rank.
- Search term winners: Converting searches that aren't keywords yet.
- Quality score audit: Spend by quality score and the component to fix.
- Period comparison: Any metrics against the previous period or last year.
Why use Microsoft Ads in Claude Code
- Combine your data with scripts and files
- Automate recurring reports
- Ideal for analysts and developers
Questions about Microsoft Ads and Claude Code
How do I connect Microsoft Advertising to Claude Code?
Create a free Plugsight account and connect Microsoft Ads: Sign in with Microsoft. Plugsight finds every Microsoft Advertising account your login can access. Then add Plugsight to Claude Code: In Plugsight, open MCP servers, create one and copy its URL. Add it to Claude Code (use your server's URL): claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID Start Claude Code, type /mcp, choose plugsight and then Authenticate. Your browser opens Plugsight: sign in and click Allow access. Add --scope user before the name to use it in every project. Run /mcp again to check that Plugsight is connected. No browser (a server or a script)? Create an API key on the MCP server's page and add the server with it instead: claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID --header "Authorization: Bearer YOUR_API_KEY"
Can Claude Code read my Microsoft Ads data?
Yes, once connected. Claude Code can see: Campaign, ad group, keyword, search query, ad and geographic performance; Cost, clicks, impressions, conversions, revenue, CPA and ROAS; Quality score and its components for keywords; Impression share and share lost to budget or rank. For example, ask: "How did Microsoft Ads perform last month compared with Google Ads?"
Which Claude Code plans work?
Works with any Claude Code setup.
How does Claude Code sign in to Plugsight?
Claude Code signs in to Plugsight in your browser: you approve it once. Where no browser can open, use an API key instead.
Can Claude Code change anything in Microsoft Ads?
No. Plugsight only reads Microsoft Advertising; it never creates, changes or deletes anything there.
Is the Microsoft Ads connector free?
Microsoft Advertising is on the Pro plan ($29 a month, or $290 a year), which also adds more connections and the other marketing sources. The Free plan covers email, helpdesk, calendar, contacts, files, stores and email marketing.
Good to know
- Reports are generated by Microsoft on request, so large date ranges can take a few seconds longer.
Related guides
Connect Microsoft Advertising to Claude Code
Free plan, no credit card. Set up in about five minutes.
Updated