MyWebSearch MCP
Enables web search via Baidu through the SearXNG gateway, allowing the MCP server to query Baidu as one of its configurable search engines.
Enables web search via Brave through the SearXNG gateway, allowing the MCP server to query Brave as one of its configurable search engines.
Enables web search via DuckDuckGo through the SearXNG gateway, allowing the MCP server to query DuckDuckGo as one of its configurable search engines.
Provides the unified search gateway for the MCP server, aggregating multiple search engines and powering tools for search, search-and-fetch, and deep research.
Provides tools for retrieving YouTube video transcripts, with optional source language and translation language settings.
Click on "Install 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., "@MyWebSearch MCPSearch for Python 3.14 release notes and summarize key changes."
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.
WebSearch Forge MCP
A lightweight, unified WebSearch MCP for AI agents.
Search, read, crawl, parse, and research the public web through one MCP server.
Quick Start · Tools · Architecture · Configure Engines · 中文文档
What It Is
WebSearch Forge MCP is a self-contained MCP service for agent-driven web research:
Question → search sources → fetch pages → extract content → crawl related pages → compile evidenceIt is split into clear layers:
transportsexposes MCP stdio and the optional FastAPI adapter.corehandles configuration, caching, security checks, orchestration, and research workflows.providersimplement search, fetching, extraction, crawling, and media features.SearXNG is the single search gateway for Bing, Baidu, Brave, DuckDuckGo, and other configured engines.
Related MCP server: myscrape
Highlights
One MCP server, six capabilities
Connect once to transports/mcp_stdio.py:
Tool | Purpose |
| Find candidate sources through SearXNG |
| Fetch and extract one public URL |
| Search, then read the top results |
| Run multiple searches and compile a report |
| Recursively crawl a bounded same-domain site |
| Retrieve YouTube captions |
Unified search gateway
The engines argument is passed to SearXNG as a filter. WebSearch Forge does not independently fan out to search websites:
WebSearch Forge MCP → SearXNG → Bing / Baidu / Brave / DuckDuckGoLightweight by default
MCP stdio needs no exposed application port or database server. The cache is SQLite. Optional packages add Trafilatura, Readability, stealth requests, Playwright, Office/PDF parsing, Scrapy, YouTube captions, and FastAPI without changing the MCP contract.
Bounded crawling
crawl_site supports a zero-dependency native backend and an optional Scrapy backend. It enforces page and depth limits, stays on the starting host, resolves relative links, and isolates page failures.
Quick Start
The following commands are for Windows PowerShell.
Install
cd D:\my-websearch\my_websearch
py -3.12 -m pip install -r requirements.txtStart SearXNG
docker version
cd D:\my-websearch\my_websearch
docker compose up -d searxng
docker compose psThe default gateway is http://127.0.0.1:8080. Configuration lives in config/searxng/settings.yml.
Configure the MCP client
Use mcp_config.example.json and keep an absolute path:
{
"mcpServers": {
"websearch-forge": {
"command": "py",
"args": [
"-3.12",
"D:\\my-websearch\\my_websearch\\transports\\mcp_stdio.py"
],
"env": {
"SEARXNG_URL": "http://127.0.0.1:8080",
"CACHE_TTL": "300"
}
}
}
}The stdio adapter forces UTF-8 on Windows. Loopback traffic bypasses machine-wide proxy variables by default; set PROXY_URL explicitly when needed.
Tools
search_web
Search through SearXNG without downloading page bodies.
{
"name": "search_web",
"arguments": {
"query": "Python 3.14 new features",
"engines": ["bing", "baidu", "brave"],
"limit": 5,
"time_range": "month"
}
}fetch_web_content
Fetch and extract one public URL. HTML, PDF, DOCX, XLSX, PPTX, CSV, Markdown, and plain text are supported.
{
"name": "fetch_web_content",
"arguments": {
"url": "https://www.python.org",
"max_chars": 10000,
"stealth_mode": "off",
"render_mode": "auto",
"extraction_mode": "auto"
}
}The response includes final URL, HTTP status, title, extraction method, word count, content, and discovered links.
search_and_fetch
Search first, then fetch the top results independently. A failed page is recorded on that item and does not cancel the batch.
{
"name": "search_and_fetch",
"arguments": {
"query": "FastAPI MCP server",
"limit": 3,
"max_chars": 12000
}
}deep_research
Run related queries concurrently, fetch the strongest results, and return a Markdown report with source-level failures.
{
"name": "deep_research",
"arguments": {
"queries": ["SearXNG engine configuration", "MCP stdio deployment"],
"breadth": 3,
"max_chars": 12000
}
}crawl_site
Crawl a same-host site with hard page and depth limits.
{
"name": "crawl_site",
"arguments": {
"url": "https://www.python.org",
"max_pages": 10,
"max_depth": 2,
"backend": "native",
"stealth_mode": "off"
}
}native is the default. Install Scrapy and set backend to scrapy to use the optional backend. Each page reports URL, depth, status, fetch method, title, content, and word count.
youtube_transcript
Retrieve YouTube captions with optional source and translation languages.
Response Shape
{
"query": "OpenAI",
"provider": "searxng",
"engines": ["bing", "baidu", "brave"],
"total_results": 3,
"results": [
{
"title": "OpenAI | Research & Deployment",
"url": "https://openai.com/",
"description": "...",
"source": "openai.com",
"engine": "bing",
"score": 1.0
}
],
"partial_failures": []
}Successful partial results are preserved. Engine, page, and document errors are returned as structured failure entries.
Architecture
flowchart LR
A[Agent / MCP Client] -->|stdio JSON-RPC| B[transports/mcp_stdio.py]
B --> C[core/service.py]
C --> D[providers/search]
D --> E[SearXNG]
E --> F[Bing / Baidu / Brave / DDG]
C --> G[providers/content]
G --> H[HTTP / stealth / Playwright]
C --> I[providers/crawl]
C --> J[providers/media]
C --> K[(SQLite TTL cache)]transportsadapts protocols; MCP and FastAPI share the same service.coreowns orchestration, cache policy, configuration, and URL security.providers/searchtalks to SearXNG and validates engine names.providers/contenthandles HTTP, stealth transport, rendering, and extraction.providers/crawlcontains native and Scrapy crawling backends.providers/mediacontains the YouTube transcript provider.
Configure Search Engines
The project-owned SearXNG source is:
config/searxng/settings.ymlTwo settings decide whether an engine can be called:
settings.ymlenables the engine inside SearXNG.providers/search/registry.pylists the accepted name inSUPPORTED_ENGINES.
Restart after changes:
cd D:\my-websearch\my_websearch
docker compose up -d --force-recreate searxngIf SearXNG does not provide the engine yet, implement that SearXNG engine first.
Security and Reliability
Only HTTP and HTTPS URLs are accepted.
Localhost, loopback, private IPv4, link-local, and private IPv6 targets are rejected.
Redirect destinations are validated again.
Search and fetch operations use a SQLite TTL cache, 300 seconds by default.
Partial failures do not discard successful work.
stdout is reserved for MCP JSON-RPC.
Optional Capabilities
Capability | Enablement |
Trafilatura / Readability | Install |
Stealth requests | Install |
JavaScript rendering | Install Playwright and use |
PDF / DOCX / XLSX / PPTX | Install matching document packages |
Scrapy crawling | Install Scrapy and use |
FastAPI HTTP service | Run |
YouTube captions | Install |
Project Layout
my_websearch/
├── assets/ # Project logo
├── config/searxng/ # SearXNG settings.yml
├── core/ # Config, cache, security, orchestration
├── providers/
│ ├── search/ # SearXNG gateway and engine allow-list
│ ├── content/ # Requests, rendering, extraction
│ ├── crawl/ # Native and Scrapy backends
│ └── media/ # YouTube transcript provider
├── transports/ # MCP stdio and FastAPI adapters
├── tests/ # Dependency-free self-checks
├── docker-compose.yml # Local SearXNG gateway
├── mcp_config.example.json # MCP client template
├── requirements.txt # Dependency entry point
├── README.md # English documentation
└── README.zh-CN.md # 中文文档Development Check
cd D:\my-websearch
py -3.12 -m my_websearch.tests.test_serverExpected output:
my_websearch self-check: okOptional FastAPI service:
cd D:\my-websearch\my_websearch
py -3.12 -m transports.apiThen open http://127.0.0.1:8787/docs.
License
No license is imposed yet. Add a root-level LICENSE file before public distribution.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Scrape, crawl and search the web for AI agents via MCP.
Live AI-native web search with citations. One tool for every MCP client. Flat per-request pricing.
Docs: https://docs.keenable.ai/mcp-server Keenable is a free, remote MCP server that gives agents access to the web index. Search the web with ranked results and date/site filters, then fetch any indexed page as clean markdown. Works out of the box with no account or API key.
Web research for agents: quality-scored Google search, webpage extraction, and deep research.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceMCP tool server that gives any AI agent the ability to search, scrape, and analyze content across the internet.42MIT
- AlicenseNot gradedqualityAmaintenanceA self-contained web-research MCP server that lets local LLM agents search, fetch, and synthesize web content using tools like web_search, web_fetch, and web_research.1MIT
- AlicenseNot gradedqualityCmaintenanceMulti-purpose research MCP server integrating web search, deep research, web scraping, research methodology routing, and GPT Researcher report generation.MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that gives agents a unified search and perception layer across web search, Bilibili, Xiaohongshu, Zhihu, YouTube, academic metadata, recruitment sites, and webpage extraction, plus research planning, health checks, and task status.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/iuiu-py/websearch-forge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server