Borrowing it
Nothing to install: this file belongs to sydasif/web-search-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sydasif/web-search-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/sydasif/web-search-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/sydasif/web-search-mcp/claude-md)<a href="https://agentmods.dev/instructions/sydasif/web-search-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sydasif/web-search-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/sydasif/web-search-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/sydasif/web-search-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01443 | $0.01443 |
| Opus 5.5 | $0.00577 | $0.00577 |
| Sonnet 5.5 | $0.00289 | $0.00289 |
| Haiku 4.5 | $0.00144 | $0.00144 |
Grade A, and why
web-search-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Design docs → wiki — tool selection guide, design decisions, recommended workflows, tools status, plugin setup, and development standards.
Common Commands
Development
- Install dependencies:
uv sync - Run server:
uv run omnisearch(oruv run python -m web_search_mcp.server) - Lint:
uv run ruff check . - Format:
uv run ruff format . - Type check:
uv run mypy .
Version / Release
- Bump version: update
pyproject.toml,web_search_mcp/__init__.py,.claude-plugin/plugin.json,.claude-plugin/marketplace.jsonto same version - After version bump: run
uv syncto update lockfile and rebuild package - Plugin auto-updates on reload when version changes
Testing
- Run all tests:
uv run pytest - Run single test file:
uv run pytest tests/test_module.py - Run specific test:
uv run pytest tests/test_module.py::test_function_name - Run with coverage:
uv run pytest --cov=web_search_mcp
Architecture
High-Level Design
The project is a FastMCP server that exposes a suite of web search and data retrieval tools to LLMs. It follows a "Registry-Implementation" pattern:
- Registry (
server.py): The central point whereFastMCPis initialized and tools are decorated with@mcp.tool. It handles the mapping between MCP tool definitions and the underlying Python implementations. - Implementation Layers:
search/: Implements core web search engines (e.g., DuckDuckGo, Exa).social/: Integrates with community platforms (GitHub, Reddit, Hacker News, X, LinkedIn).tools/: Contains specialized utilities (arXiv, Wikipedia, Digg, Techmeme, Polymarket, Rerank).
- Internal Infrastructure (
_prefixed folders):_http/: Centralized HTTP client logic to ensure consistent timeouts, headers, error handling, and SSRF protection (blocks private/internal IP addresses)._models/: Shared Pydantic models for requests and responses to ensure type safety across the server._config/: Manages settings, environment variables, and global rate limits. Seelimits.pyfor hard-coded result depth constraints (e.g.,quick,default,deep) used by social tools._utils/: Low-level helpers for markdown formatting, result scoring, and date-window utilities.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed · +1 lines · +30 tokens per session 4cc151d37eaa
- 7d ago Changed · +13 lines · +269 tokens per session ddb06728b905
- 8d ago Changed · +6 lines · +82 tokens per session 61e423038efb
- 1mo ago Changed · -2 tokens per session 938e20b36eeb
- 2mo ago First seen · 81 lines · 1,064 tokens per session scan A e6b09196d6c8
web-search-mcp CLAUDE.md is an instructions file published in the GitHub repository sydasif/web-search-mcp (25 stars, last pushed 4d ago), licensed MIT. It adds 1,443 tokens to every session, about $0.0058 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
web-search-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| web-search-mcp CLAUDE.mdsydasif/web-search-mcp | Instructions file | 25 | 4d ago | MIT | A | 1,443 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |