Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’° Finance & Fintech
  3. Admob Mcp Server
A
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:10:13 AM

Admob Mcp Server

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

MCP server for the Google AdMob API β€” apps, ad units, mediation, and revenue reports

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "admob-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "admob-mcp-server"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’° More in Finance & Fintech

Documentation Overview

AdMob MCP Server

npm version CI license

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."

Asking Claude Code for the last 7 days of per-app AdMob revenue

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.

Architecture

mermaid
flowchart LR
    C["MCP client<br/>Claude Code Β· Claude Desktop Β· Cursor Β· Gemini CLI"]

    subgraph S["admob-mcp-server β€” runs on your machine"]
        direction TB
        T["9 read-only tools in 5 toolsets<br/>accounts Β· apps Β· adunits Β· reports Β· mediation<br/>(filtered by --toolsets)"]
        A["Credential resolver<br/>env vars β†’ token.json β†’ gcloud ADC"]
        R["Report flattener<br/>chunk stream β†’ rows Β· micros β†’ currency"]
    end

    G["Google AdMob API<br/>v1beta"]

    C <-->|"MCP over stdio"| T
    T --> A
    A <-->|"OAuth 2.0 / HTTPS"| G
    G -.->|"report chunks"| R
    R -.-> T

Credentials and revenue data travel only between your machine and Google β€” there is no third-party server in between.

Features

  • Everything the AdMob API opens to normal accounts β€” 9 tools across accounts, apps, ad units, reports, and mediation (why there are no write tools)
  • Reports made readable β€” streaming report responses are flattened into simple row tables, and monetary values (micros) are converted to real currency units
  • Read-only by design β€” the sign-in requests read scopes only, so the server cannot change anything in your AdMob account
  • Toolsets β€” enable only the tool groups you need, e.g. --toolsets reports,accounts
  • Three authentication options β€” one-command browser sign-in (npx admob-mcp-server auth), environment-variable refresh token, or gcloud Application Default Credentials
  • Built-in analysis prompts and report-spec reference resources

Setup at a glance

One-time setup, roughly 10 minutes:

StepWhat you doWhere
1. Google Cloud setupRegister a personal "app" so Google lets you access your own databrowser
2. Sign inRun one command and log in with Googleterminal
3. Connect your AI clientAdd one config entry and restart the clientterminal

Requirements

  • Node.js 18 or newer β€” check with node --version; if missing, install from nodejs.org
  • An AdMob account and the Google account that owns it

Setup

Part 1 β€” Google Cloud setup

Why 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.

  1. Create (or select) a Google Cloud project: console.cloud.google.com/projectcreate β€” any name works; reusing an existing project is fine too.
  2. Enable the AdMob API: console.cloud.google.com/apis/library/admob.googleapis.com β†’ check that your project is selected in the top bar β†’ Enable.
  3. Configure the OAuth consent screen: console.cloud.google.com/auth/overview β€” the first visit opens a short wizard:
    • App name: anything (e.g. admob-mcp), and your email as the support/contact email
    • Audience: External
    • Finish the wizard β€” you do not need to submit the app for Google's verification
    • Then go to Audience β†’ Test users β†’ Add users and add the Google account that owns your AdMob account
  4. Create an OAuth client: console.cloud.google.com/apis/credentials β†’ Create credentials β†’ OAuth client ID
    • Application type: Desktop app
    • After creating it, click Download JSON β€” you'll use this file in Part 2

[!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.

Part 2 β€” Sign in

Move the JSON file you downloaded to where the server looks for it, then run the sign-in command:

bash
mkdir -p ~/.admob-mcp
mv ~/Downloads/client_secret_*.json ~/.admob-mcp/oauth_client.json

npx admob-mcp-server auth

(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:

mermaid
sequenceDiagram
    autonumber
    participant T as Terminal
    participant S as admob-mcp-server
    participant B as Browser
    participant G as Google

    T->>S: npx admob-mcp-server auth
    S->>S: read ~/.admob-mcp/oauth_client.json
    S->>B: open consent URL (loopback redirect, random port)
    B->>G: sign in & allow scopes
    G-->>S: authorization code β†’ refresh token
    S->>S: save ~/.admob-mcp/token.json (reused for every later call)
Advanced: environment variables (headless / CI)

If you already have a refresh token, no files are needed:

server.ts
export GOOGLE_CLIENT_ID="....apps.googleusercontent.com"
export GOOGLE_CLIENT_SECRET="..."
export GOOGLE_REFRESH_TOKEN="..."
Advanced: gcloud Application Default Credentials

The same pattern Google's official Analytics/Ads MCP servers use:

bash
gcloud auth application-default login \
  --scopes=https://www.googleapis.com/auth/admob.readonly,https://www.googleapis.com/auth/admob.report,https://www.googleapis.com/auth/cloud-platform \
  --client-id-file=path/to/oauth_client.json

Credential resolution order: environment variables β†’ token.json (from auth) β†’ ADC.

Part 3 β€” Connect your AI client

Pick your client below.
MCP servers are loaded when the client starts, so restart the client after adding the config.

Claude Code

Terminal
claude mcp add admob -- npx -y admob-mcp-server

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:

config.json
{
  "mcpServers": {
    "admob": {
      "command": "npx",
      "args": ["-y", "admob-mcp-server"]
    }
  }
}

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 env block (Claude Code: repeat --env KEY=value before --; JSON configs: add an "env": { ... } object next to "args").

Try it

You don't call tools yourself β€” just ask in plain language and the assistant picks the right tools.
Some starters:

  • "What did my apps earn last week?"
  • "Break down this month's revenue by country and app."
  • "Which ad format had the highest RPM in the last 30 days?"
  • "How is my mediation doing? Compare ad sources by observed eCPM."
  • "List my apps and their ad units."

Most clients ask for your permission before each tool call, so nothing runs without your approval.

Configuration

All configuration is optional β€” the defaults work for a single AdMob account.

Environment variables

VariableDescriptionDefault
ADMOB_ACCOUNTPublisher ID (pub-XXXXXXXXXXXXXXXX). Only needed when your login can access multiple accountsauto-discovered
ADMOB_TOOLSETSComma-separated toolsets to enableall
ADMOB_CREDENTIALS_DIRDirectory for oauth_client.json / token.json~/.admob-mcp
ADMOB_OAUTH_CLIENT_FILEPath to the OAuth client JSON used by auth<credentials dir>/oauth_client.json
GOOGLE_CLIENT_IDOAuth client ID (env sign-in; also used by auth instead of the JSON file)β€”
GOOGLE_CLIENT_SECRETOAuth client secret (env sign-in)β€”
GOOGLE_REFRESH_TOKENOAuth refresh token (env sign-in)β€”

CLI flags

FlagDescription
--toolsets <names>Same as ADMOB_TOOLSETS, e.g. --toolsets reports,apps
--account <pub-id>Same as ADMOB_ACCOUNT
--client-file <path>Same as ADMOB_OAUTH_CLIENT_FILE (for auth)

CLI flags take precedence over environment variables.
Flags go after the command in your client config, e.g. npx -y admob-mcp-server --toolsets reports.

Tools

A "tool" is a function the AI assistant can call on your behalf.
Tools are grouped into five toolsets; all are enabled by default:

ToolsetTools
accountslist_accounts, get_account
appslist_apps
adunitslist_ad_units
reportsgenerate_network_report, generate_mediation_report, generate_campaign_report
mediationlist_ad_sources, list_adapters

All tools are read-only and require the admob.readonly / admob.report scopes.

Why there are no write tools

The AdMob API does expose write methods (adUnits.create, apps.create, the whole mediationGroups resource), but Google marks each of them limited access:

This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.

A normal publisher account gets PERMISSION_DENIED from all of them even with a valid admob.monetization token β€” and the same wall blocks mediationGroups.list and adUnitMappings.list, which are reads. Since these tools cannot work without an allowlisted account, they are not shipped: an assistant that sees them will try them and fail. Create ad units and mediation groups in the AdMob console instead.

accounts

ToolDescription
list_accountsList accessible publisher accounts β€” use to find your pub-... ID
get_accountGet account details: publisher ID, reporting currency, reporting time zone

apps

ToolDescription
list_appsList registered apps with app ID, platform, store link, and approval state

adunits

ToolDescription
list_ad_unitsList ad units with their IDs, formats, and owning apps

reports

All report tools take startDate / endDate (YYYY-MM-DD), metrics, and optional dimensions, dimensionFilters, sortConditions, maxReportRows (default 1000), currencyCode.
Responses are flat tables; monetary metrics are converted from micros to currency units.

ToolDescription
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
generate_campaign_reportCross-promotion campaign stats (last 30 days only): impressions, clicks, installs, cost

Valid dimensions/metrics per report are exposed as MCP resources (reference documents the assistant can read): admob://reference/network-report-spec, mediation-report-spec, campaign-report-spec.

mediation

ToolDescription
list_ad_sourcesList available mediation ad sources (ad networks) and their IDs
list_adaptersList adapters of an ad source, incl. required configuration keys

Mediation groups and ad unit mappings are not covered β€” see Why there are no write tools.

Prompts

Prompts are ready-made analysis requests.
Your client surfaces them as slash commands or a prompt picker (e.g. /top_performing_apps in Claude Code).
All take an optional days argument:

PromptWhat it does
top_performing_appsRanks your apps by revenue with RPM and match-rate context
revenue_summaryDaily revenue trend with anomaly call-outs
compare_ad_formatsCompares earnings and efficiency across ad formats

Security & privacy

  • The server runs entirely on your computer.
    Your data flows only between your machine and Google's API β€” never through any third-party server.
  • Two files are stored locally, both readable only by your user account: ~/.admob-mcp/oauth_client.json (your OAuth app) and ~/.admob-mcp/token.json (your sign-in).
  • To sign out: delete ~/.admob-mcp/token.json, and optionally revoke the app's access at myaccount.google.com/permissions.
  • Nothing can be modified: the sign-in requests read scopes only, and every tool is a read.

Troubleshooting

Install & connection

command not found: npx / spawn npx ENOENT

  • Cause: Node.js is not installed, or your client can't find it.
  • Fix: install Node 18+ from nodejs.org, then restart the client.

The server doesn't appear in the client

  • Cause: MCP servers load at client startup, or the server fails to start.
  • Fix: restart the client first.
    Then check its MCP status (Claude Code: claude mcp list, Gemini CLI: /mcp), and make sure npx -y admob-mcp-server runs in a terminal without errors.

Sign-in & auth

"No usable Google credentials found"

  • Cause: sign-in hasn't been set up yet.
  • Fix: follow Part 2 β€” Sign in.

invalid_grant / "token has been expired or revoked"

  • Cause: your sign-in expired.
    With a consent screen in Testing mode this happens every 7 days.
  • Fix: re-run npx admob-mcp-server auth.
    To stop it recurring, publish the app (Audience β†’ Publish app).

access_denied during browser sign-in

  • Cause: the Google account you picked is not a test user of the consent screen.
  • Fix: add it under Audience β†’ Test users, or publish the app.

"The publisher could not be authenticated"

  • Cause: the Google account you signed in with has no active AdMob account.
  • Fix: re-run npx admob-mcp-server auth and pick the account that owns your AdMob account in the account chooser.

API errors

403 PERMISSION_DENIED

  • Cause: the AdMob API isn't enabled, the wrong Google account is signed in, or the token predates a scope change.
  • Fix: check the following:
    1. The AdMob API is enabled in the same project as your OAuth client
    2. You signed in with the account that owns the AdMob account
    3. Your token covers admob.readonly and admob.report β€” re-run npx admob-mcp-server auth to refresh it

429 RESOURCE_EXHAUSTED

  • Cause: AdMob API quota hit (usage limits).
  • Fix: retry later, or reduce the request β€” narrower date range, fewer dimensions.

"Multiple AdMob accounts found"

  • Cause: your Google login can access several publisher accounts.
  • Fix: set ADMOB_ACCOUNT=pub-... (find IDs with list_accounts).

Development

bash
git clone https://github.com/ParkSangGwon/admob-mcp-server.git
cd admob-mcp-server
npm install
npm test
npm run build

# debug with the MCP Inspector
npm run inspect

To run a local build in a client, point it at the built entry instead of npx: node /path/to/admob-mcp-server/dist/index.js.

Releases: pushing a v* tag runs CI and publishes to npm with provenance (see .github/workflows/release.yml).

Contributing

Issues and pull requests are welcome.
For larger changes, please open an issue first to discuss the direction.
Make sure npm run lint, npm run format:check, and npm test pass.

License

MIT

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Mcp logoMcp

    Apideck Unified API MCP β€” 229 tools across 200+ SaaS connectors (accounting, HRIS, file storage).

    πŸ’° Finance & Fintech0 views
    Compare vs Mcp β†’
  • M
    Mcp

    AIOProductOS spine over MCP β€” customers, revenue, feedback, work, analytics on one typed record.

    πŸ’° Finance & Fintech0 views
    Compare vs Mcp β†’
  • Outlit logoOutlit

    Outlit gives agents real-time understanding of customers to automate support and revenue workflows.

    πŸ’° Finance & Fintech0 views
    Compare vs Outlit β†’
  • Plugin logoPlugin

    Circulara Observe MCP plugin - meters your AI agents' token spend and carbon, free tier.

    πŸ’° Finance & Fintech0 views
    Compare vs Plugin β†’

Frequently Asked Questions about Admob Mcp Server

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "admob-mcp-server": { "command": "npx", "args": ["-y", "admob-mcp-server"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAdmob Mcp Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/admob-mcp-server?style=directory)](https://allmcps.com/mcp/admob-mcp-server)
HTML Embed
<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>

Technical Specs & Signals

CategoryπŸ’°Finance & Fintech
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
0/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’° Finance & Fintech β†’Best MCP servers for Finance & Fintech β†’Alternatives to Admob Mcp Server β†’Install in Claude DesktopInstall in CursorInstall in VS Code