Googlesearch
БесплатноНе проверенA Model Context Protocol server that exposes Google Search as a tool via scraping, requiring no API key.
Описание
A Model Context Protocol server that exposes Google Search as a tool via scraping, requiring no API key.
README
deprecated , A New tool will emerge !
A Model Context Protocol server that exposes Google Search as a tool.
It uses the googlesearch-python library, which scrapes Google directly — no API key, no billing, no setup.
Features
- 🔍 Google search exposed as a single MCP tool.
- 📋 Returns title, URL and description for each result.
- 🌐 Configurable language, result count, deduplication and safe-search.
- 🚫 No API key required.
- 🖥️ Runs over stdio — works out of the box with Claude Desktop and other MCP clients.
Installation
No build step is required for the end user. Choose one of the configs below and
paste it into your MCP client's config file. The first invocation downloads the
package automatically (just like npx -y).
Quick start — paste into your MCP client config
Option A: uvx (recommended — Python's npx equivalent, no install)
For Claude Desktop's claude_desktop_config.json, VS Code / Kilo mcp.json, etc.:
{
"mcpServers": {
"search": {
"command": "uvx",
"args": ["googlesearch-mcp"]
}
}
}
Requires uv installed (
curl -LsSf https://astral.sh/uv/install.sh | shon macOS/Linux).uvxruns the latest published version straight from PyPI with zero install.
Option B: from a git repo (no PyPI publish needed)
{
"mcpServers": {
"search": {
"command": "uvx",
"args": ["--from", "git+https://github.com/SkillfulElectro/googlesearch-mcp", "googlesearch-mcp"]
}
}
}
Option C: pipx run (PyPI, no install)
{
"mcpServers": {
"search": {
"command": "pipx",
"args": ["run", "googlesearch-mcp"]
}
}
}
Option D: from source (after pip install . or uv pip install .)
{
"mcpServers": {
"search": {
"command": "googlesearch-mcp"
}
}
}
If your client cannot find googlesearch-mcp on PATH, point it at the module form:
{
"mcpServers": {
"search": {
"command": "python",
"args": ["-m", "googlesearch_mcp"]
}
}
}
From source (this repo)
uv pip install . # or: pip install .
googlesearch-mcp # now on your PATH
Tool: search
Search Google and return a list of web results.
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | — | The search query (required). |
num_results |
int | 10 |
Number of results to return. |
lang |
string | "en" |
Language code, e.g. en, fr, de. |
unique |
bool | false |
Deduplicate result URLs. |
safe |
string | "active" |
"active" enables safe search, "" disables. |
Each result is an object:
{
"index": 1,
"title": "Example Title",
"url": "https://example.com",
"description": "Snippet of the page…"
}
Development
pip install -e .
mcp run googlesearch_mcp.server:app
Inspect the server with the MCP Inspector:
npx -y @modelcontextprotocol/inspector googlesearch-mcp
Notes
googlesearch-pythonworks by scraping Google. Heavy use may trigger rate limits or CAPTCHAs. If you need a reliable production search backend, consider a paid API (e.g. SerpApi).- The server runs on the stdio transport by default, which is what MCP clients expect.
Publishing a release
Releases are automated via GitHub Actions (.github/workflows/publish.yml):
- Bump
versioninpyproject.toml(e.g.0.1.1). - Commit and create a Git tag matching the version:
git tag v0.1.1 && git push --tags. - In GitHub, publish a Release from that tag (or push the tag manually).
- The
publishworkflow builds the wheel + sdist and uploads to PyPI using Trusted Publishing (OIDC) — no PyPI token needed in secrets.
One-time setup for trusted publishing (see https://docs.pypi.org/trusted-publishers):
- Create the project on PyPI first (or claim
googlesearch-mcp). - Add a publisher: environment
release, repoSkillfulElectro/googlesearch-mcp, workflow filenamepublish.yml. - In the GitHub repo, create the
releaseenvironment and addid-token: writepermission — already set in the workflow below.
If you prefer a PyPI API token instead of trusted publishing, add a secret
PYPI_API_TOKEN and swap the publish job to use password: ${{ secrets.PYPI_API_TOKEN }}.
Установка Googlesearch
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/SkillfulElectro/googlesearch-mcpFAQ
Googlesearch MCP бесплатный?
Да, Googlesearch MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Googlesearch?
Нет, Googlesearch работает без API-ключей и переменных окружения.
Googlesearch — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Googlesearch в Claude Desktop, Claude Code или Cursor?
Открой Googlesearch на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Googlesearch with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
