free-web-mcp
This MCP server provides web search and page-fetching tools to retrieve online information.
web_search(query, max_results): Searches the web and returns matching results with titles, URLs, and snippets.
web_fetch(url, rendered): Fetches a single webpage and extracts its main readable content; optionally uses a headless browser when rendering is enabled.
web_search_and_fetch(query, rendered, max_results): Combines search and fetch — finds top results for a query, then fetches and extracts text from each result URL.
Provides web search through DuckDuckGo, returning titles, URLs, snippets, and sources for search results, and can optionally fetch the content of top results.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@free-web-mcp search for the latest MCP servers and summarize the top result"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Free Web MCP — Verifiable Web Evidence Network
Give AI agents free web access, verify the evidence behind web-derived claims, and anchor evidence fingerprints on BNB Smart Chain (Testnet).
AI Agent → MCP → Web Search → Web Fetch → Claim Extraction → Evidence Collection
→ Cross Verification → Counter Evidence → Evidence Package → SHA-256
→ BSC Testnet (EvidenceRegistry) → DashboardLive demo (local): pnpm dev → http://localhost:3000
Don't trust this README? Every on-chain claim has a credential-free public proof — see docs/VERIFICATION.md.
What this project is
A monorepo with two halves:
Half | What | Stack |
Web evidence pipeline | claim extraction, source scoring, verification, counter-evidence directions, canonical SHA-256 hashing | Node 22 / TypeScript / pnpm |
Dashboard + API | live status board, evidence list/detail, statistics, one-click demo, Anchor Evidence (writes the hash on-chain) | Next.js 14 / React / Tailwind / better-sqlite3 |
MCP server | the 8-tool MCP server ( | Python 3.12 / FastMCP / DuckDuckGo |
Smart contract |
| Solidity 0.8.24 / Foundry / viem |
All evidence packages are persisted in SQLite (apps/web/data/evidence.db) and
can be anchored on-chain — the on-chain record stores only the SHA-256 hash
URI + version + submitter + timestamp, never the full content.
Related MCP server: CrawlEyes
Milestones (computed live on the dashboard)
MCP Server · Web Search · Web Fetch · Evidence Engine · First Evidence · Blockchain Registry · First On-chain Record · Dashboard · Validator · VERI Test Token
Quick start
1. Install
# Node side
pnpm install
# Python side (MCP server)
cd apps/mcp-server && uv sync && cd ../..2. Run everything (3 terminals)
# Terminal 1 — Python MCP server (port 8765)
cd apps/mcp-server && uv run --no-sync free-web-mcp --transport http --host 127.0.0.1 --port 8765
# Terminal 2 — Next.js dashboard (port 3000)
pnpm dev
# Terminal 3 — local blockchain (Anvil, port 8545) — optional for anchoring
anvil --port 85453. See it work
Dashboard: http://localhost:3000 — System Online, live status probes, evidence statistics, Run Demo button (search → fetch → extract → verify → hash).
CLI demo:
pnpm demoprints the same pipeline.Evidence records: http://localhost:3000/evidence and
/evidence/EV-XXXXXX.Anchor on-chain (needs a contract): click Anchor Evidence on a detail page, confirm, and the hash is registered on the EvidenceRegistry.
Environment
Copy .env.example → .env.local (web) / .env (mcp-server). Key vars:
Var | Purpose |
| Chain RPC (Anvil |
| Deployed contract address (after |
| Server-side signer for anchoring (never in frontend/logs) |
| Where the dashboard finds the MCP server ( |
Private keys must never be committed, logged, or sent to the frontend. See SECURITY.md.
Smart contract (Phase 5)
cd contracts
forge build
forge test # 6 tests
# local Anvil
anvil --port 8545 &
forge script script/Deploy.s.sol:DeployEvidenceRegistry \
--rpc-url http://127.0.0.1:8545 --broadcast
# BSC Testnet (needs tBNB — never use a real key)
forge script script/Deploy.s.sol:DeployEvidenceRegistry \
--rpc-url https://data-seed-prebsc-1-s1.binance.org:8545 \
--private-key $PRIVATE_KEY --broadcastThe deployed address goes into .env.local as EVIDENCE_REGISTRY_ADDRESS.
The dashboard then flips Blockchain → CONNECTED and the Anchor button works.
Live deployment (BSC Testnet)
Contract |
|
Network | BSC Testnet (chainId 97) |
Deploy TX | |
Anchor TX (EV-000006) | |
Verify |
|
MCP tools (Python server)
Tool | Description |
| DuckDuckGo search; each result has |
| Fetch + extract main text; returns |
| Search then fetch Top-N in one call |
| Classify outgoing links primary/secondary/tertiary |
| Split text into claims, classify fact/event/number/date/relationship/opinion/inference |
| Generate counter-evidence search directions |
| Build + persist an evidence package via the dashboard API |
| Fetch a persisted evidence package |
All errors return {success:false, error:{type, message}} with a stable
type (INVALID_URL, FETCH_FAILED, TIMEOUT, HTTP_ERROR, PARSER_ERROR,
SEARCH_FAILED, RATE_LIMITED, CONTENT_TOO_LARGE, RENDER_FAILED,
RENDER_TIMEOUT, INTERNAL_ERROR).
Architecture
┌─────────────┐ ┌───────────────────────────────┐
│ MCP Clients │──▶│ apps/mcp-server (Python) │
│ Cursor / │ │ 8 tools, error-wrapped │
│ Claude / │ └───────────────┬───────────────┘
│ ChatGPT │ │ MCP_SERVER_URL
└─────────────┘ ▼
┌─────────────────────────────────────────────────┐
│ apps/web (Next.js dashboard + API) │
│ /api/evidence create/list/stats │
│ /api/evidence/[id] detail │
│ /api/demo/run one-click demo pipeline │
│ /api/anchor/[id] on-chain write (confirm req) │
│ SQLite: apps/web/data/evidence.db │
└──────────────┬────────────────┬─────────────────┘
│ │
▼ ▼
┌──────────────────────┐ ┌─────────────────────────┐
│ packages/evidence │ │ packages/blockchain │
│ claims / engine / │ │ viem client for │
│ canonical SHA-256 │ │ EvidenceRegistry │
└──────────────────────┘ └────────────┬────────────┘
▼
EvidenceRegistry.sol (contracts/)
BSC Testnet (97) or Anvil (31337)Layering rule: MCP tools never touch storage or chain directly — they call the dashboard API; the dashboard owns SQLite + the on-chain signer.
Testing
# Python (44 + SSRF tests)
cd apps/mcp-server && uv run pytest -q
# Node (evidence engine 15, blockchain, web db 6)
pnpm -r test
# Type checks
pnpm -r typecheck
cd apps/mcp-server && uv run mypyCI runs all of the above on every push — see .github/workflows/ci.yml.
Security
See SECURITY.md — SSRF protection, private-key handling, threat model, what is and isn't logged. Key points:
WebClientrejects private/local/link-local addresses (SSRF, spec §30).Rate limits on
/api/demo/runand/api/anchor.On-chain writes require explicit
{confirm: true}and are signed only by the server-side wallet fromWALLET_PRIVATE_KEY.No real funds, no mainnet, no promises of exchange listing. Testnet only.
Roadmap
v0.3 (done): dashboard + evidence engine + SQLite + 8 MCP tools + EvidenceRegistry contract (BSC Testnet:
0xD4F1…85D7) + demo mode + SSRF/rate limits.v0.4 (done): VERI Test Token (BEP-20, testnet:
0x4FF8…50Da) + validator votes & rewards + multi-provider search aggregation + BNB Greenfield evidence publishing (§27, content-addressed) + ERC-8004 agent identity (§28, registered on the official BSC Testnet registry, agentId 2006) + Playwright e2e.Next (watchlist): ERC-8004 reputation feedback writing (needs a second non-owner wallet — the registry blocks self-feedback); agent payments (§29) gated on B402/x402 BSC facilitator self-service; BNB Greenfield mainnet when ready.
License
MIT — see LICENSE.
Available Tools
3 toolsweb_fetchB
Fetch a webpage and extract its main readable content.
Set rendered=True to drive a headless browser (requires RENDER_ENABLED=true).
Inputs: url (required), rendered. Returns: object
web_searchB
Search the web and return a list of results (title/url/snippet).
Inputs: query (required), max_results. Returns: object
web_search_and_fetchA
Search the web, then fetch and extract text from each result URL.
Set rendered=True to drive a headless browser (requires RENDER_ENABLED=true).
Inputs: query (required), rendered, max_results. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: web_search returns results, web_fetch retrieves a single page, and web_search_and_fetch explicitly combines both. There is no meaningful overlap between the three.
All tool names follow the consistent web_<action> pattern using lowercase snake_case. The names clearly indicate their operation, including the compound web_search_and_fetch.
Three tools is a reasonable, well-scoped size for a simple web retrieval server. Each tool earns its place, and the combined search-and-fetch adds convenience without bloating the surface.
The core search-and-fetch workflow is fully covered, with an optional rendered mode for JavaScript-heavy pages. A minor gap is lack of a tool for raw HTML or structured page extraction, but most basic browsing needs are addressed.
Maintenance
Related MCP Connectors
Scrape, crawl and search the web for AI agents via MCP.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Web MCP: scrape/crawl sites, web search, brand assets, app stores, YouTube, Reddit, Hacker News.
Free web search for AI agents. No API key required. Hosted MCP in active development.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to perform multi-engine web search, fetch web pages, and extract clean Markdown content via MCP, with no API keys required.358 PyPI8MIT
- AlicenseBqualityBmaintenanceEnables AI agents to perform web searches and extract full-text content from web pages via standard MCP tools, with fallback search and semantic reranking.22MIT
- AlicenseAqualityCmaintenanceEnables any MCP-compatible AI agent to search the live web and fetch pages as clean Markdown, including batch fetching with rate limiting, retries, and context-safe truncation.3MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search the web through configured providers and crawl single pages or whole sites into clean Markdown or JSON, including content behind logins, over MCP STDIO or HTTP.-