Skip to content
Claude Code

Google AdSense for Claude Code

io.github.sirmacke/adsense-mcp

Read AdSense Management API v2 accounts, inventory, payments, policy, and reports through MCP.

client:Claude Code transport:stdio runtime:npm

Install Google AdSense in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add adsense-mcp -e ADSENSE_ACCESS_TOKEN=<ADSENSE_ACCESS_TOKEN> -e ADSENSE_CLIENT_ID=<ADSENSE_CLIENT_ID> -e ADSENSE_CLIENT_SECRET=<ADSENSE_CLIENT_SECRET> -e ADSENSE_REFRESH_TOKEN=<ADSENSE_REFRESH_TOKEN> -e ADSENSE_ACCOUNT=<ADSENSE_ACCOUNT> -- npx -y @sirmacke/adsense-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Google AdSense in other clients