1. Conduid
  2. Developer Tools
  3. Google PSE/CSE
MCP server · Developer Tools

Google PSE/CSE

A Model Context Protocol (MCP) server providing access to Google Programmable Search Engine (PSE) and Custom Search Engine (CSE).

Unclaimed Apache-2.0 last commit a year ago devtools
39Low

Scored 2 days ago · breakdown

About Google PSE/CSE

Google PSE/CSE is an MCP server published by rendyfebry in the Developer Tools category: a Model Context Protocol (MCP) server providing access to Google Programmable Search Engine (PSE) and Custom Search Engine (CSE).

The repository has 12 stars and 7 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/rendyfebry/google-pse-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Google PSE/CSE

Powered by Claude · Grounded in docs

I know everything about Google PSE/CSE. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

0.2.10.2.1 · 18 May 2025Full Changelog: https://github.com/rendyfebry/google-pse-mcp/compare/0.2.0...0.2.1
0.2.00.2.0 · 17 May 2025What's Changed feat: support sort, safe search, and language filtering Full Changelog: https://github.com/rendyfebry/google-pse-mcp/compare/0.1.0...0.2.0
0.1.00.1.0 · 17 May 2025Initial Release

README

MseeP.ai Security Assessment Badge

Google Programmable Search Engine (PSE) MCP Server

A Model Context Protocol (MCP) server for the Google Programmable Search Engine (PSE) API. This server exposes tools for searching the web with Google Custom Search engine, making them accessible to MCP-compatible clients such as VSCode, Copilot, and Claude Desktop.

Installation Steps

You do NOT need to clone this repository manually or run any installation commands yourself. Simply add the configuration below to your respective MCP client—your client will automatically install and launch the server as needed.

VS Code Copilot Configuration

Open Command Palette → Preferences: Open Settings (JSON), then add:

settings.json

{
  // Other settings...
  "mcp": {
    "servers": {
      "google-pse-mcp": {
        "command": "npx",
        "args": [
          "-y",
          "google-pse-mcp",
          "https://www.googleapis.com/customsearch",
          "<api_key>",
          "<cx>",
          "<siteRestricted>" // optional: true/false, defaults to true
        ]
      }
    }
  }
}

Cline MCP Configuration Example

If you are using Cline, add the following to your cline_mcp_settings.json (usually found in your VSCode global storage or Cline config directory):

  • macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
{
  "mcpServers": {
    "google-pse-mcp": {
      "disabled": false,
      "timeout": 60,
      "command": "npx",
      "args": [
        "-y",
        "google-pse-mcp",
        "https://www.googleapis.com/customsearch",
        "<api_key>",
        "<cx>",
        "<siteRestricted>" // optional flag, true/false, defaults to true
      ],
      "transportType": "stdio"
    }
  }
}

Important Notes

Don't forget to replace <api_key> and <cx> with your credentials in the configuration above. You can also provide an optional <siteRestricted> flag (true or false) as the last argument to control which Google Custom Search endpoint is used. If omitted, it defaults to true.

Available Tools

This MCP server provides the following tool:

  1. search: Search the web with Google Programmable Search Engine

    • Parameters:
      • q (string, required): Search query
      • page (integer, optional): Page number
      • size (integer, optional): Number of search results to return per page (1-10)
      • sort (string, optional): Sort expression (only 'date' is supported)
      • safe (boolean, optional): Enable safe search filtering
      • lr (string, optional): Restrict search to a particular language (e.g., lang_en)
      • siteRestricted (boolean, optional): Use the Site Restricted API endpoint; defaults to true unless overridden via CLI flag

Example Usage

# Search for "artificial intelligence"
result = await use_mcp_tool(
    server_name="google-pse-mcp",
    tool_name="search",
    arguments={
        "q": "artificial intelligence",
        "size": 5,
        "safe": True
    }
)

Useful Links

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Google PSE/CSE

How do I install Google PSE/CSE?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Google PSE/CSE safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Google PSE/CSE still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.