chrome-webstore-mcp
Provides read-only access to Chrome Web Store metrics for extensions, including installs, uninstalls, active users, impressions, and page views, with date-range filtering and optional breakdowns by dimensions such as OS, country, language, and install source.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
chrome-webstore-mcp
An MCP server that lets your agent (Cursor, Claude, and others) read Chrome Web Store metrics for your extension: installs, uninstalls, active users, impressions, and page views. It is read-only.
You need your own Google Cloud app. Setup takes about 10 minutes and only has to be done once.
1. Create a Google Cloud app
Open the Google Cloud Console and create a project. An existing one also works.
Search the console for Chrome Web Store API and click Enable.
Open Google Auth Platform (called OAuth consent screen in the older interface).
In Branding, enter an app name and contact emails.
In Audience, choose External.
Also in Audience, add the Google account that owns the extension to Test users.
In Clients, click Create client and choose Desktop app. It has to be Desktop: this type needs no redirect URI.
Copy the Client ID and Client secret.
While the app is in Testing status, Google revokes the sign-in about every 7 days. To avoid this, click Publish app in Audience. If sign-in then shows an unverified app warning, click Advanced and continue: it is your own app. Personal use does not require Google's app verification.
Related MCP server: yourtraffic
2. Find your publisher ID and extension ID
Open the extension in the Developer Dashboard. The page address looks like this:
https://chrome.google.com/webstore/devconsole/<publisher-id>/<extension-id>/...Take the publisher ID from this address. If you have several publishers, the ID of another one results in a 403 error.
3. Add the server to your MCP config
Only the app credentials are required in the config:
{
"mcpServers": {
"chrome-webstore": {
"command": "npx",
"args": ["-y", "chrome-webstore-mcp"],
"env": {
"CWS_CLIENT_ID": "<client id>",
"CWS_CLIENT_SECRET": "<client secret>"
}
}
}
}You can give the agent the publisher ID and extension ID in each request. If you work with one extension, add them to env as defaults so you don't have to repeat them:
"CWS_PUBLISHER_ID": "<publisher id>",
"CWS_EXTENSION_ID": "<extension id>"IDs from a request take priority over the config.
Where the config lives:
Cursor:
~/.cursor/mcp.json.Claude Code: the
claude mcp addcommand.
Node.js 20 or newer is required.
If a client on Windows cannot start npx, use "command": "cmd" and "args": ["/c", "npx", "-y", "chrome-webstore-mcp"].
The config holds a secret, so use the global file rather than one inside a repository. If the config does live in a project, don't commit it, and pass the secret through an environment variable. In Cursor that looks like "CWS_CLIENT_SECRET": "${env:CWS_CLIENT_SECRET}".
4. Ask your agent for metrics
For example: "Show installs and uninstalls for October". If the IDs are not in the config, include them: "Show October installs for extension <extension id>, publisher <publisher id>".
The first request needs a Google sign-in with the account that owns the extension. The same happens automatically if the sign-in expires. How it looks depends on the client:
If the client supports URL elicitation, it asks to open the sign-in page itself, and the agent gets the data right after you sign in.
Otherwise the server opens your browser and gives the agent a link. After signing in, ask the agent to repeat the request. Cursor currently works this way.
A sign-in button in the client's settings, as remote servers have, is not available for local stdio servers.
The token is stored in ~/.config/chrome-webstore-mcp/token.json with 0600 permissions and is sent only to Google. On Windows the file is %USERPROFILE%\.config\chrome-webstore-mcp\token.json, which has no 0600 mode and relies on the permissions of your profile folder.
To sign out, delete the token file and restart the server.
The query_metrics tool
Parameter | Description |
|
|
| inclusive bounds, |
| one breakdown: |
| extension ID, defaults to |
| publisher ID, defaults to |
| 1 to 10000, default 1000 |
Data arrives with a delay of about two days.
The sign-in is shared across the whole server, so the signed-in account must have access to every extension you request. For publishers in different Google accounts, add a separate server for each one and give each its own XDG_CONFIG_HOME, which keeps their tokens apart.
Troubleshooting
Error | What to check |
| the publisher ID from the extension's page address, and that you signed in with the owner account |
|
|
| the account is listed in Test users |
|
|
| give the ID in the request or add it to the config; the same applies to |
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Extension and app analytics across Chrome, Edge, Firefox, Google Play, and the Apple App Store. Search and compare extensions and apps; inspect trends, rankings, reviews, and version history; and search supported extension source code. Connect via Streamable HTTP with OAuth. API keys are also supported. Data availability and limits depend on the platform and plan. Documentation: https://chrome-stats.com/docs/mcp Privacy policy: https://chrome-stats.com/privacy Support: support@chrome-stats.com
Read-only Google Search Console and Google Analytics for AI agents.
Chrome Web Store — public extension listing data: a single extension by id, free-text search, and…
Hosted, read-only Google Analytics 4 MCP: reports, period comparisons, realtime, custom fields.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceExposes product analytics metrics from an internal data warehouse via MCP, enabling agents to query metrics, product summaries, and event breakdowns.-
- AlicenseNot gradedqualityDmaintenanceEnables agents to access web analytics statistics via OAuth, providing a privacy-first, cookie-free analytics service.1MIT
- AlicenseNot gradedqualityCmaintenanceRead-only access to Google Analytics 4 reporting data, including traffic overview, top pages, traffic sources, and conversion events, supporting custom report queries via MCP.MIT
- AlicenseBqualityBmaintenanceEnables read-only Google Analytics 4 reporting through MCP, including daily summaries, top pages, acquisition, events, realtime activity, metadata, and custom reports with CSV/JSON output.8MIT