Google Business Profile MCP Server
Allows management of Google Business Profile accounts, locations, verifications, notifications, place action links, reviews, and performance analytics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Business Profile MCP Serverlist my business locations"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Business Profile (GBP) MCP Server
An open-source Model Context Protocol server that exposes
Google Business Profile management as tools for AI agents (Claude, or any MCP-compatible client).
40 tools covering accounts, locations, verifications, notifications, place action links, reviews,
and performance analytics — built directly against Google's REST APIs (not the outdated
googleapis npm package's GBP coverage).
Features
List/manage Business Profile accounts and their admins
Create, read, update, delete locations and their attributes
Handle location verification (start, complete, check status)
Configure Pub/Sub notification settings
Manage place action links (order online, book appointment, etc.)
List reviews, reply to reviews, delete replies
Pull daily performance metrics (impressions, calls, clicks, direction requests, bookings) and search-keyword impression data
Explicitly out of scope: Q&A management (Google discontinued the My Business Q&A API on
2025-11-03 — there is no way to implement this even if desired) and Posts (localPosts) — not
confirmed deprecated, but intentionally excluded from this build; see Notes for the
full detail so this isn't misread as a confirmed API shutdown.
Related MCP server: ga4-mcp
Prerequisites
Node.js 18+
A Google Cloud project
Approved access to the Business Profile APIs. Enabling these APIs in Cloud Console is not enough — Google gates the whole "My Business" API family behind a separate access-request approval. Until it's approved, every call fails with a
429 RESOURCE_EXHAUSTED/quota_limit_value: "0"error (this looks like a rate limit but is actually an access gate). Search "Google Business Profile API access request form" and submit it for your project — approval historically favors agencies/platforms managing multiple locations over single-business owners, and can take anywhere from a few days to a couple of weeks.(Optional, only needed for
gbp_reauth.py) Python 3 withgoogle-auth-oauthlibinstalled (pip install google-auth-oauthlib)
Setup
1. Enable the required APIs
In Google Cloud Console → APIs & Services → Library, search for and Enable each of the following (all under the "My Business" / "Business Profile" family):
# | API name to search | Used for |
1 | My Business Account Management API | Accounts, account admins, location admins |
2 | My Business Business Information API | Locations, location attributes, categories, chains |
3 | My Business Verifications API | Location verification flow |
4 | My Business Notifications API | Pub/Sub update/review notification settings |
5 | My Business Place Actions API | Place action links (order online, book, etc.) |
6 | Business Profile Performance API | Daily metrics, search-keyword impressions |
7 | My Business API (legacy v4) | Reviews (list/get/reply/delete-reply) — this is the only |
surface Google still supports for reviews; there is no newer replacement |2. Request Business Profile API access
Enabling the APIs above does not grant you quota — submit Google's separate Business Profile API access-request form for the same Cloud project (see Prerequisites above). Wait for approval before continuing; every tool call will fail with a quota-zero error until then.
3. Create an OAuth 2.0 Client ID
In Cloud Console → APIs & Services → Credentials → Create Credentials → OAuth client ID →
Desktop app. Download the resulting JSON — you'll need its client_id and client_secret.
4. Mint a refresh token
pip install google-auth-oauthlib
set GBP_OAUTH_CLIENT_ID=your-client-id.apps.googleusercontent.com
set GBP_OAUTH_CLIENT_SECRET=your-client-secret
python gbp_reauth.pyThis opens a browser consent screen requesting the https://www.googleapis.com/auth/business.manage
scope, then writes gbp-credentials.json in this folder (pass a path as the first argument to
save elsewhere). Log in with the Google account that owns/manages the target Business Profile(s).
You can also do this by hand: copy gbp-credentials.json.example to gbp-credentials.json and
fill in client_id / client_secret / refresh_token yourself if you already have a token minted
elsewhere with the business.manage scope.
5. Install and run
npm install
npx tsx index.tsSet GBP_CREDENTIALS_FILE to point at a credentials file in a different location; it defaults to
./gbp-credentials.json relative to this folder.
6. Wire it into an MCP client
Example for Claude Code's .mcp.json:
{
"mcpServers": {
"google-business-profile": {
"type": "stdio",
"command": "npx",
"args": ["tsx", "/absolute/path/to/gbp-mcp-server/index.ts"],
"env": {
"GBP_CREDENTIALS_FILE": "/absolute/path/to/gbp-credentials.json"
}
}
}
}Tool reference (40 tools)
Account Management (mybusinessaccountmanagement.googleapis.com)
Tool | What it does |
| Lists the Business Profile accounts the authenticated user has access to |
| Gets a single account by name |
| Lists the admins (owners/managers) of an account |
| Invites/adds a new admin to an account |
| Removes an admin from an account |
| Lists the admins of a specific location |
| Adds a new admin directly on a location |
| Removes an admin from a specific location |
Business Information (mybusinessbusinessinformation.googleapis.com)
Tool | What it does |
| Lists the locations under an account (requires |
| Gets a single location by name (requires |
| Creates a new location under an account |
| Updates fields on an existing location (requires matching |
| Deletes a location |
| Gets the Google-maintained version of a location, which can differ from what the owner submitted |
| Looks up all attributes (wifi, wheelchair accessible, payment options, etc.) currently set on a location |
| Updates attribute values for a location (requires matching |
| Lists Google's business categories for a language/region, optionally filtered by search term |
| Resolves category IDs to display names |
| Searches Google's chain database by display name |
| Gets details of a specific chain |
Verifications (mybusinessverifications.googleapis.com)
Tool | What it does |
| Fetches the verification methods (ADDRESS, EMAIL, PHONE_CALL, SMS, VETTED_PARTNER) currently available for a location |
| Starts a verification using one of the fetched methods |
| Completes a pending verification by submitting the received PIN |
| Lists past and pending verifications for a location |
| Checks whether a location is eligible to actively appear on Google |
Notifications (mybusinessnotifications.googleapis.com)
Tool | What it does |
| Gets the Pub/Sub topic and notification types configured for an account |
| Sets the Pub/Sub topic and notification types an account should receive |
Place Actions (mybusinessplaceactions.googleapis.com)
Tool | What it does |
| Lists place action links (order online, book appointment, etc.) on a location |
| Gets a single place action link by name |
| Creates a new place action link |
| Updates an existing place action link (requires matching |
| Deletes a place action link |
| Lists the place action types Google currently supports |
Reviews — legacy v4 (mybusiness.googleapis.com/v4)
Tool | What it does |
| Lists reviews for a location |
| Gets a single review by ID |
| Creates or replaces the business's reply to a review |
| Deletes the business's reply to a review |
Performance (businessprofileperformance.googleapis.com)
Tool | What it does |
| Gets a time series for a single daily metric (e.g. |
| Gets time series for multiple daily metrics at once |
| Lists the search keywords used to find a location, with monthly impression counts |
Notes
list_locations/get_location/get_location_google_updatedrequire aread_mask— Google's API rejects requests without one (a comma-separated list ofLocationfield paths).update_location,update_location_attributes, andupdate_place_action_linkrequire a matchingupdate_mask/attribute_maskfield-path list alongside the new values.create_location,update_location,create_place_action_link,update_place_action_link, andupdate_location_attributesaccept raw Google resource JSON via abody/attributes/extrafield rather than a fully-typed schema — the underlyingLocationandPlaceActionLinkresources have large, evolving field sets, and passing raw JSON through avoids re-modeling (and potentially mis-modeling) Google's schema in TypeScript.Q&A is confirmed discontinued as of 2025-11-03 (Google's own change log). Excluded entirely.
Posts (
localPosts) is not confirmed deprecated — Google's docs show it active with recent feature additions. It's excluded from this build as a deliberate scope decision, not because the API was shut down — don't cite this repo as evidence that Posts access no longer works.Lodging API (
mybusinesslodging.googleapis.com) is out of scope — hotel/lodging-only attributes, not relevant here.Every tool calls Google's REST endpoints directly via
fetchand surfaces Google's ownerror.messageon any non-2xx response rather than swallowing it.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/amirjahfar1/Google-Business-Profile-GBP-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server