Google-Search-MCP-Server

Google-Search-MCP-Server

54

The Google Search MCP Server is an MCP-compliant server that allows AI models to perform Google searches and analyze webpage contents programmatically. It integrates Google Custom Search and advanced content analysis tools, presenting results in a human-readable format.

Google Search MCP Server

An MCP server providing Google search capabilities and webpage content analysis tools. Features include Google Custom Search integration, advanced search features, webpage content analysis in multiple formats, batch analysis, result categorization, content summarization, and an MCP-compliant interface.

Prerequisites

  • Node.js (v16 or higher)
  • Google Cloud Platform account
  • Custom Search Engine ID
  • Google API Key

Running

Start the MCP server with configured API credentials and MCP settings file.

Getting Google API Credentials

Enable the Custom Search API in Google Cloud Console and obtain an API Key and Search Engine ID.

Error Handling

Detailed error messages for missing/invalid credentials, failed requests, invalid URLs, and network issues.

Architecture

Built with TypeScript, using the MCP SDK. Includes GoogleSearchService and ContentExtractor services with caching for performance.

License

MIT