google-researcher-mcp
CLAUDE.md36 starsChanged 8 months agoMITArchived repositoryView on GitHub
Required for HTTP transport (OAuth 2.1): - OAUTH_ISSUER_URL - OAUTH_AUDIENCE Optional: - PORT (default: 3000) - MCP_TEST_MODE=stdio (force STDIO only) - ALLOWED_ORIGINS (CORS origins) - ALLOW_PRIVATE_IPS (for local development)
- Reads credentials
- Installs packages
In this repository2 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
STDIO Transport: No port (standard input/output)
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md - Canonical Project Context
Project Overview
google-researcher-mcp - An MCP (Model Context Protocol) server providing Google Search, web scraping, and multi-source research tools for AI assistants.
Quick Commands
Build & Run
npm install # Install deps + Chromium browser (via postinstall)
npm run build # Build TypeScript to dist/
npm start # Start server (STDIO mode default)
npm run dev # Start with hot reload (development)
PORT=3001 npm start # Start HTTP server on custom portTesting
npm test # Run all unit/component tests (860+)
npm run test:coverage # Generate code coverage report
npm run test:e2e # Full E2E suite (STDIO + SSE + YouTube)
npm run test:e2e:stdio # STDIO transport E2E only
npm run test:e2e:sse # HTTP/SSE transport E2E only
npm run test:e2e:youtube # YouTube transcript E2E onlyServer Ports
- Default: PORT 3000 (configurable via
PORTenv var) - STDIO Transport: No port (standard input/output)
- HTTP/SSE Transport: Listens on PORT (default 3000)
Transport Modes
- STDIO (default): For Claude Desktop and direct MCP clients
- HTTP/SSE: For web clients, requires OAuth configuration
Environment Variables
Required for Google Search:
GOOGLE_CUSTOM_SEARCH_API_KEYGOOGLE_CUSTOM_SEARCH_ID
Required for HTTP transport (OAuth 2.1):
OAUTH_ISSUER_URLOAUTH_AUDIENCE
Optional:
PORT(default: 3000)MCP_TEST_MODE=stdio(force STDIO only)ALLOWED_ORIGINS(CORS origins)ALLOW_PRIVATE_IPS(for local development)
Architecture
src/
├── server.ts # Main server entry point
├── cache/ # Caching layer with persistence
├── documents/ # PDF, DOCX, PPTX parsing
├── prompts/ # MCP Prompts primitive
├── resources/ # MCP Resources primitive
├── schemas/ # Output schemas
├── shared/ # Shared utilities (OAuth, logging, etc.)
├── tools/ # Tool implementations
├── types/ # TypeScript types
└── youtube/ # YouTube transcript extractionMCP Tools Provided
google_search- Google Custom Searchscrape_page- Web/PDF/DOCX scrapingsearch_and_scrape- Combined search + scrapegoogle_image_search- Image searchgoogle_news_search- News searchacademic_search- Academic paper searchpatent_search- Patent searchsequential_search- Multi-step research tracking
MCP Resources (stats://*)
stats://tools- Per-tool execution metrics (calls, latency, cache hits)stats://tools/{name}- Single tool metricsstats://cache- Cache performance metricsstats://events- Event store statistics
Monitoring Endpoints (HTTP mode)
GET /mcp/metrics/prometheus- Prometheus format metricsGET /mcp/cache-stats- Cache statistics JSONGET /mcp/event-store-stats- Event store statistics JSON
Key Files
package.json- Dependencies and scripts.env.example- Environment variable templateREADME.md- User documentationdocs/- Extended documentation
GitHub Issues
Single source of truth for project roadmap. Use gh issue list to view.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

