MCP server for the Google AdMob API β apps, ad units, mediation, and revenue reports
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Admob MCP Server.
list_accountsList accessible publisher accounts β use to find your `pub-...` ID
get_accountGet account details: publisher ID, reporting currency, reporting time zone
list_appsList registered apps with app ID, platform, store link, and approval state
list_ad_unitsList ad units with their IDs, formats, and owning apps
generate_network_reportAdMob Network performance: earnings, impressions, clicks, match rate, RPM, ...
generate_mediation_reportMediation performance across ad sources: earnings, observed eCPM per `AD_SOURCE` / `MEDIATION_GROUP
English | νκ΅μ΄
Ask your AI assistant about your AdMob apps and earnings β in plain language:
- "How much did my apps earn in the last 7 days, broken down by country?"
- "Which mediation ad source had the best eCPM this month?"
- "Compare the RPM of my banner vs. rewarded ad units."
- "List my apps and their ad units."

This is a Model Context Protocol (MCP) server for the Google AdMob API.
It works with Claude Code, Claude Desktop, Cursor, Gemini CLI, and any other MCP-capable AI client.
Credentials and revenue data travel only between your machine and Google β there is no third-party server in between.
--toolsets reports,accountsnpx admob-mcp-server auth), environment-variable refresh token, or gcloud Application Default CredentialsOne-time setup, roughly 10 minutes:
| Step | What you do | Where |
|---|---|---|
| 1. Google Cloud setup | Register a personal "app" so Google lets you access your own data | browser |
| 2. Sign in | Run one command and log in with Google | terminal |
| 3. Connect your AI client | Add one config entry and restart the client | terminal |
node --version; if missing, install from nodejs.orgWhy is this needed?
The AdMob API has no simple API keys β Google requires every program that accesses your data to be registered as an "OAuth app".
Here you register a personal one that only you will use.
It's free and needs no billing setup.
admob-mcp), and your email as the support/contact email[!WARNING] While the consent screen is in Testing mode, Google expires sign-ins after 7 days, so you'll need to re-run the sign-in weekly.
To stop that, publish the app (Audience β Publish app).
Publishing for your own use doesn't require Google's verification β you'll just see an "unverified app" warning during sign-in, which is expected.
Move the JSON file you downloaded to where the server looks for it, then run the sign-in command:
(On Windows, move the file to C:\Users\<you>\.admob-mcp\oauth_client.json in Explorer, then run the npx command.)
Your browser opens.
Pick the Google account that owns your AdMob account and allow access.
If you see a "Google hasn't verified this app" warning, that's your own app from Part 1 β click "Continue".
When the terminal prints Setup complete, your sign-in is saved to ~/.admob-mcp/token.json and reused from then on.
The sign-in requests the admob.readonly and admob.report scopes β read access only.
What the auth command does:
If you already have a refresh token, no files are needed:
The same pattern Google's official Analytics/Ads MCP servers use:
Credential resolution order: environment variables β token.json (from auth) β ADC.
Pick your client below.
MCP servers are loaded when the client starts, so restart the client after adding the config.
Claude Code
Verify with claude mcp list β you should see admob: ... - β Connected.
Claude Desktop β open Settings β Developer β Edit Config, which opens claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), and add:
Restart the app; the admob tools appear in the tools menu of the chat input.
Cursor β add the same mcpServers block to ~/.cursor/mcp.json, then check Settings β MCP shows admob as enabled.
Gemini CLI β add the same mcpServers block to ~/.gemini/settings.json, then check with /mcp inside the CLI.
[!TIP] If you used the environment-variable sign-in, pass the variables through your client's
envblock (Claude Code: repeat--env KEY=valuebefore--; JSON configs: add an"env": { ... }object next to"args").
You don't call tools yourself β just ask in plain language and the assistant picks the right tools.
Some starters:
Most clients ask for your permission before each tool call, so nothing runs without your approval.
All configuration is optional β the defaults work for a single AdMob account.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/admob-mcp-server)<a href="https://allmcps.com/mcp/admob-mcp-server"><img src="https://allmcps.com/api/badge/admob-mcp-server?style=directory" alt="Admob MCP Server on AllMCPs" /></a>