Atlas / MCP servers / saurabhsharma2u / Google Search Console

Google Search ConsoleSAFE

mcp/saurabhsharma2u/google-search-console-5

Search & analytics data as infrastructure — MCP server for Google Search Console, Bing Webmaster Tools, Google Adsense and GA4, designed for AI agents and automation.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
20 20r · 0w · 0d
Transport
sse · stdio
License
MIT
Stars
296
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Google Search Console + Bing Webmaster Tools + GA4 + AdSense — in one context window.

Stop exporting CSVs. Start asking your AI agent questions about your site's traffic, rankings, and revenue.

[](https://opensource.org/licenses/MIT) [](https://github.com/saurabhsharma2u/search-console-mcp/actions/workflows/ci.yml) [](https://github.com/saurabhsharma2u/search-console-mcp/stargazers)

[](https://github.com/saurabhsharma2u/search-console-mcp/releases/latest/download/search-console-mcp.mcpb)

📚 Docs · Quick Start · Tools · Backward Compatibility · Security

⚡ What's New in v2.1.2

  • 🤖 GenAI Query Insights (`genai_query_insights`): Surfaces likely generative-AI / AI-Mode / conversational "fanout" queries across Google and Bing. This is custom heuristic logic — no official API is provided by Google or Bing for GenAI citation data, so it flags prompt verbs, follow-ups, acknowledgements, and conversational phrasing on the regular query data both engines already return. See docs →
  • 🪲 `analytics_query` fix: rowLimit is now honored instead of being silently ignored (previously always returned up to 1000 rows); limit remains as a backward-compatible alias.

What's New in v2.1.0

  • 💰 Google AdSense Integration: Earnings repo
Read from source at commit c665d2ed7d16OBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add search-console-mcp --env GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_APPLICATION_CREDENTIALS} --env BING_API_KEY=${BING_API_KEY} --env PAGESPEED_API_KEY=${PAGESPEED_API_KEY} -- npx -y [email protected]
03

Exposed tools (20)

20 read · 0 write · 0 destructive.

ToolRiskDescription
coerce_toolreadcoerces
demoreadDemo tool
echoreadEcho a query
empty_tablereadempty table
err_obj_toolreadreturns error object
fail_toolreadfails
flag_seqreadflag sequence
flatten_checkreadflatten check
help_toolreadHelp tool desc
legacy_zodreadlegacy
non_str_errreadnon-string error
non_textreadnon-text result
plain_string_outputreadplain string output
raw_fallbackreadraw fallback
rowsreadRows tool
space_argsreadspace args
table_demoreadTable demo tool
throw_primitivereadthrows primitive
valid_toolreadvalid tool desc
zod_coalescereadcoalesce
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (5 observation(s))
Shell
declared (3 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (16)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.mcpbignore
.mcpbignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/adsense/tools/accounts.ts:1
import { loadConfig } from '../../common/auth/config.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/bing/tools/advanced-analytics.ts:3
import { parseMicrosoftDate, startOfDay, endOfDay } from '../../common/utils/dates.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/bing/tools/analytics.ts:2
import { parseMicrosoftDate, startOfDay, endOfDay } from '../../common/utils/dates.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/bing/tools/analytics.ts:3
import { limitConcurrency } from '../../common/concurrency.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/bing/tools/crawl.ts:2
import { resolveSiteProperty } from '../../common/auth/resolver.js';
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/e2e/sse.e2e.test.ts:24
const req = http.get(`http://127.0.0.1:${PORT}${path}`, (res) => {
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/e2e/sse.e2e.test.ts:97
`http://127.0.0.1:${PORT}/messages?sessionId=bogus-session`,
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@adobe/structured-data-validator, @clack/prompts, @google-analytics/data, @modelcontextprotocol/sdk, @napi-rs/keyring, cheerio, dotenv, googleapis
Why it matters. 18 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
SECURITY.md:110
- Full access to the user’s operating system account
LOWPrompt injection · prompt.authority_framing · CWE-94, CWE-1427
docs/prompts/magic-prompts.mdx:29
You are a Senior SEO Forensic Auditor. I've noticed a traffic drop. Help me find out WHY.
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
SECURITY.md:40
- Does not collect Google account passwords
Why it matters. asks the agent to read credentials
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/getting-started/accounts.md:30
By default, a connected account can access **all sites** on that credential. If you want to limit it to specific sites, add a site boundary:
Why it matters. asks the agent to read credentials
LOWPrompt injection · prompt.credential_read · CWE-94, CWE-1427
docs/getting-started/authentication.md:82
To access Bing data, you simply need an API Key.
Why it matters. asks the agent to read credentials
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
README.md:158
The token is stored encrypted on the server and auto-refreshes — no browser needed again. Setup over SSH also works directly: when no browser is detected, `setup` prints the authorization URL plus `ss
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
docs/concepts/trust-and-security.md:27
*   **No Credential Leakage:** The server is designed to prevent leaking your service account email or project ID to the model unless explicitly required.
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha c665d2ed7d16full audit observations/trust-audit/mcp-server/saurabhsharma2u__google-search-console-5.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06c665d2ed7d16SAFEB89first audit
06

Questions

What is the Google Search Console MCP server?

Search & analytics data as infrastructure — MCP server for Google Search Console, Bing Webmaster Tools, Google Adsense and GA4, designed for AI agents and automation.

What tools does Google Search Console expose?

20 in total: 20 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Google Search Console safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Google Search Console need?

It reads BING_API_KEY, GOOGLE_APPLICATION_CREDENTIALS, GOOGLE_CLIENT_SECRET, GOOGLE_PRIVATE_KEY and PAGESPEED_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Google Search Console run?

It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as search-console-mcp at 2.1.3.

How current is this page?

The grade is for one exact copy of the source (c665d2ed7d16), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement