Google Business Profile MCP
MCP server for Google Business Profile: locations, reviews, local posts and performance metrics.
What can you do with Google Business Profile MCP?
- List locations, categories, attributes and current profile information.
- Show calls, direction requests and search keyword impressions for a chosen period.
- Find fresh reviews, draft a reply and publish it after confirmation.
- Prepare, update or remove a local post.
- Update a selected location field or attribute after showing the exact change.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-google-businessclaude mcp add google-business-profile-mcp -e 'GOOGLE_BUSINESS_CLIENT_ID=<GOOGLE_BUSINESS_CLIENT_ID>' -e 'GOOGLE_BUSINESS_CLIENT_SECRET=<your google_business_client_secret>' -e 'GOOGLE_BUSINESS_REFRESH_TOKEN=<your google_business_refresh_token>' -e 'GOOGLE_BUSINESS_ACCESS_TOKEN=<your google_business_access_token>' -e 'GOOGLE_BUSINESS_TIMEOUT_MS=60000' -e 'GOOGLE_BUSINESS_MAX_RETRIES=3' -e 'GOOGLE_BUSINESS_OAUTH_PORT=<GOOGLE_BUSINESS_OAUTH_PORT>' -e 'GOOGLE_BUSINESS_ACCOUNTS_API_BASE=https://mybusinessaccountmanagement.googleapis.com' -e 'GOOGLE_BUSINESS_INFO_API_BASE=https://mybusinessbusinessinformation.googleapis.com' -e 'GOOGLE_BUSINESS_PERFORMANCE_API_BASE=https://businessprofileperformance.googleapis.com' -e 'GOOGLE_BUSINESS_V4_API_BASE=https://mybusiness.googleapis.com' -- npx -y mcp-google-business@1.2.0
{
"mcpServers": {
"google-business-profile-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-google-business@1.2.0"
],
"env": {
"GOOGLE_BUSINESS_CLIENT_ID": "<GOOGLE_BUSINESS_CLIENT_ID>",
"GOOGLE_BUSINESS_CLIENT_SECRET": "<your google_business_client_secret>",
"GOOGLE_BUSINESS_REFRESH_TOKEN": "<your google_business_refresh_token>",
"GOOGLE_BUSINESS_ACCESS_TOKEN": "<your google_business_access_token>",
"GOOGLE_BUSINESS_TIMEOUT_MS": "60000",
"GOOGLE_BUSINESS_MAX_RETRIES": "3",
"GOOGLE_BUSINESS_OAUTH_PORT": "<GOOGLE_BUSINESS_OAUTH_PORT>",
"GOOGLE_BUSINESS_ACCOUNTS_API_BASE": "https://mybusinessaccountmanagement.googleapis.com",
"GOOGLE_BUSINESS_INFO_API_BASE": "https://mybusinessbusinessinformation.googleapis.com",
"GOOGLE_BUSINESS_PERFORMANCE_API_BASE": "https://businessprofileperformance.googleapis.com",
"GOOGLE_BUSINESS_V4_API_BASE": "https://mybusiness.googleapis.com"
}
}
}
}
Environment variables
GOOGLE_BUSINESS_CLIENT_IDOAuth2 client id from Google Cloud Console (refresh flow).GOOGLE_BUSINESS_CLIENT_SECRETsecret OAuth2 client secret. Treat it as a secret.GOOGLE_BUSINESS_REFRESH_TOKENsecret OAuth2 refresh token with the business.manage scope. Treat it as a secret.GOOGLE_BUSINESS_ACCESS_TOKENsecret Ready-made access token (~1 h) as an alternative to the refresh-flow trio above.GOOGLE_BUSINESS_TIMEOUT_MSPer-request timeout in milliseconds.GOOGLE_BUSINESS_MAX_RETRIESRetries on transient errors (429 always; 5xx/network on idempotent calls).GOOGLE_BUSINESS_OAUTH_PORTFixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.GOOGLE_BUSINESS_ACCOUNTS_API_BASEAccount Management API base override.GOOGLE_BUSINESS_INFO_API_BASEBusiness Information API base override.GOOGLE_BUSINESS_PERFORMANCE_API_BASEBusiness Profile Performance API base override.GOOGLE_BUSINESS_V4_API_BASELegacy v4 My Business API base override (reviews, local posts).
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
Google Business Profile MCP
English | Русский
A1 Google Business Profile MCP lets an AI app work with your Google Business Profile locations in natural language. Inspect locations and performance, respond to reviews, prepare local posts and update profile information deliberately.
It connects to Google’s current Business Profile APIs and the legacy API where reviews and posts still live. A Google account and OAuth credentials alone are not enough: Google must approve Basic API Access for the Cloud project.
- 20 tools. Location and account data, performance, reviews, local posts, categories and attributes.
- Real approval gate. Projects start at 0 QPM; every API call fails until Google approves the Basic API Access application.
- Separate release boundary. A prepared reply, post or location update changes public business information only after the client confirms the write operation.
- Four API surfaces. Account Management, Business Information, Performance and legacy v4 work through one
business.manageOAuth scope.
Start with a read-only question:
List my locations and show the newest reviews that do not have a reply.
Connect the server · Explore use cases · Open technical documentation
See it work in a minute
You: List my locations and show the newest reviews that do not have a reply.
Assistant: Shows the locations and recent reviews. Nothing changes.
You: Draft a reply to the newest three-star review at the downtown location. Apologize and offer to help.
Assistant: Shows the location, review and proposed reply, then asks for confirmation before publishing it.
You: Confirm.
Assistant: Publishes the reply. It does not alter the review, other locations or posts.
Contents
- Quick start
- What you can ask it to do
- What can change
- Getting access
- Configuration
- Data, limits and background work
- Technical documentation
- Support
Quick start
You need Node.js 20+, a verified Google Business Profile, a Google Cloud OAuth client and an approved Basic API Access application.
- Get approved access.
- Add the server to your AI app.
- Start with the read-only question above.
Codex
In Settings → MCP servers, select Add server, choose STDIO, enter the command npx -y mcp-google-business@latest and environment variables GOOGLE_BUSINESS_CLIENT_ID, GOOGLE_BUSINESS_CLIENT_SECRET, GOOGLE_BUSINESS_REFRESH_TOKEN, then select Save and Restart.
codex mcp add google-business \
--env GOOGLE_BUSINESS_CLIENT_ID=your_client_id \
--env GOOGLE_BUSINESS_CLIENT_SECRET=your_client_secret \
--env GOOGLE_BUSINESS_REFRESH_TOKEN=your_refresh_token \
-- npx -y mcp-google-business@latest
codex mcp list
Claude Code
claude mcp add \
--env GOOGLE_BUSINESS_CLIENT_ID=your_client_id \
--env GOOGLE_BUSINESS_CLIENT_SECRET=your_client_secret \
--env GOOGLE_BUSINESS_REFRESH_TOKEN=your_refresh_token \
--transport stdio --scope user google-business \
-- npx -y mcp-google-business@latest
claude mcp list
Claude Desktop
The current official path is Settings → Extensions. For a custom desktop extension, open Advanced settings → Extension Developer → Install Extension…, select a .mcpb file and follow the prompts.
This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:
{"mcpServers":{"google-business":{"command":"npx","args":["-y","mcp-google-business@latest"],"env":{"GOOGLE_BUSINESS_CLIENT_ID":"your_client_id","GOOGLE_BUSINESS_CLIENT_SECRET":"your_client_secret","GOOGLE_BUSINESS_REFRESH_TOKEN":"your_refresh_token"}}}}
In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.
Claude Desktop MCP documentation
Cursor
Add {"mcpServers":{"google-business":{"type":"stdio","command":"npx","args":["-y","mcp-google-business@latest"],"env":{"GOOGLE_BUSINESS_CLIENT_ID":"your_client_id","GOOGLE_BUSINESS_CLIENT_SECRET":"your_client_secret","GOOGLE_BUSINESS_REFRESH_TOKEN":"your_refresh_token"}}}} to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows. Cursor MCP documentation
VS Code
Run MCP: Open User Configuration and add:
{"servers":{"google-business":{"type":"stdio","command":"npx","args":["-y","mcp-google-business@latest"],"env":{"GOOGLE_BUSINESS_CLIENT_ID":"${input:gbp_client_id}","GOOGLE_BUSINESS_CLIENT_SECRET":"${input:gbp_client_secret}","GOOGLE_BUSINESS_REFRESH_TOKEN":"${input:gbp_refresh_token}"}}},"inputs":[{"type":"promptString","id":"gbp_client_id","description":"Google OAuth client ID"},{"type":"promptString","id":"gbp_client_secret","description":"Google OAuth client secret","password":true},{"type":"promptString","id":"gbp_refresh_token","description":"Google OAuth refresh token","password":true}]}
Check it with MCP: List Servers. VS Code MCP documentation
What you can ask it to do
- List locations, categories, attributes and current profile information.
- Show calls, direction requests and search keyword impressions for a chosen period.
- Find fresh reviews, draft a reply and publish it after confirmation.
- Prepare, update or remove a local post.
- Update a selected location field or attribute after showing the exact change.
What can change
| Operation | What happens | Confirmation boundary |
|---|---|---|
| Accounts, locations, categories, attributes, performance, reviews and posts | Reads existing profile data | No change |
| Update a location or its attributes | Changes public business profile data | Changes a location |
| Reply to a review | Publishes a public owner reply | Changes public content |
| Create or update a local post | Publishes or changes public local content | Changes public content |
| Delete a review reply or local post | Removes public content | Destructive |
| Raw API request | May call any write or delete endpoint | Potentially destructive |
The AI client controls confirmations; the server marks tools so the client can distinguish inspection from a live change.
Getting access
Google requires both OAuth and Basic API Access approval.
- Use a verified and active Business Profile that has existed for at least 60 days; apply from an owner or manager account and have a business website that matches the application.
- Create a Google Cloud project, enable My Business Account Management API, Business Information API, Business Profile Performance API and Google My Business API (legacy v4).
- Submit the GBP API contact form as Application for Basic API Access. Before approval, quota is 0 QPM; approved projects receive 300 QPM per API.
- Create an OAuth client, obtain a refresh token for
https://www.googleapis.com/auth/business.manage, and set the threeGOOGLE_BUSINESS_*variables.
Treat the client secret and refresh token as passwords. An access token is a short-lived alternative for one-off use.
Configuration
| Variable | Required | Description |
|---|---|---|
GOOGLE_BUSINESS_CLIENT_ID | Yes* | OAuth client ID. |
GOOGLE_BUSINESS_CLIENT_SECRET | Yes* | OAuth client secret. |
GOOGLE_BUSINESS_REFRESH_TOKEN | Yes* | OAuth refresh token with business.manage. |
GOOGLE_BUSINESS_ACCESS_TOKEN | Yes* | Short-lived alternative to the OAuth trio. |
GOOGLE_BUSINESS_TIMEOUT_MS | No | Per-request timeout; default 60000 ms. |
GOOGLE_BUSINESS_MAX_RETRIES | No | Temporary-error retries; default 3. |
\* Provide either the OAuth trio or an access token. API host overrides are documented in the tool reference.
Data, limits and background work
- Google receives the profile requests. Anonymous telemetry includes installation and version data plus tool names, never OAuth secrets, profile data, arguments or prompts. Set
ASKADS_TELEMETRY=0to opt out. - Real edit caps. Approved projects receive 300 QPM per API; Google also limits each Business Profile to 10 edits per minute. Performance metrics can lag by a few days, and review replies require verified locations.
- No background monitoring. The server runs only while called. If your AI app supports scheduled tasks, it can periodically review new feedback or metrics.
Technical documentation
- MCP capability catalog — task-oriented pages for every tool.
- All tools and inputs
- Development documentation
- Publishing documentation
- Google Business Profile API documentation
Support
Found a bug or need a scenario? Create an issue or write in Telegram.
You made it to the end!
Frequently asked questions
What is Google Business Profile MCP?
MCP server for Google Business Profile: locations, reviews, local posts and performance metrics.
How do I install Google Business Profile MCP?
It runs on your machine. In Claude Code: claude mcp add google-business-profile-mcp -e 'GOOGLE_BUSINESS_CLIENT_ID=<GOOGLE_BUSINESS_CLIENT_ID>' -e 'GOOGLE_BUSINESS_CLIENT_SECRET=<your google_business_client_secret>' -e 'GOOGLE_BUSINESS_REFRESH_TOKEN=<your google_business_refresh_token>' -e 'GOOGLE_BUSINESS_ACCESS_TOKEN=<your google_business_access_token>' -e 'GOOGLE_BUSINESS_TIMEOUT_MS=60000' -e 'GOOGLE_BUSINESS_MAX_RETRIES=3' -e 'GOOGLE_BUSINESS_OAUTH_PORT=<GOOGLE_BUSINESS_OAUTH_PORT>' -e 'GOOGLE_BUSINESS_ACCOUNTS_API_BASE=https://mybusinessaccountmanagement.googleapis.com' -e 'GOOGLE_BUSINESS_INFO_API_BASE=https://mybusinessbusinessinformation.googleapis.com' -e 'GOOGLE_BUSINESS_PERFORMANCE_API_BASE=https://businessprofileperformance.googleapis.com' -e 'GOOGLE_BUSINESS_V4_API_BASE=https://mybusiness.googleapis.com' -- npx -y mcp-google-business@1.2.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Google Business Profile MCP need an API key?
Yes. It expects GOOGLE_BUSINESS_CLIENT_SECRET, GOOGLE_BUSINESS_REFRESH_TOKEN, GOOGLE_BUSINESS_ACCESS_TOKEN, which you set in its configuration.
Is Google Business Profile MCP open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains Google Business Profile MCP?
It is published by A1-x-Tech. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.