web-basics-mcp
This server provides web search and URL fetching tools.
Use
web_searchto search the web, with optional result limit.Use
fetch_urlto retrieve content from a URL, returning clean Markdown for HTML and Reddit, selectable text for PDFs, direct content for text/Markdown/JSON/XML, or native MCP image content.fetch_urlsupports reading long text in bounded chunks viastart_indexandmax_length.Both tools include caching for faster repeated requests.
It does not provide browser automation, JavaScript rendering, crawling, authentication, cookies, proxy/VPN routing, or answer synthesis.
Integrates with SearXNG to perform web searches, returning results (title, link, snippet) from a local or remote SearXNG instance.
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., "@web-basics-mcpsearch for MCP server best practices"
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.
web-basics-mcp
Small, dependable web tools for agents. No API keys and no bundled infrastructure.
Tools
Tool | What it does |
| Searches one query through an existing SearXNG instance |
| Fetches one page, text document, PDF, image, or Reddit post |
fetch_url returns clean Markdown for HTML pages and Reddit posts, selectable text for PDFs, direct content for text/Markdown/JSON/XML responses, and native MCP image content for PNG, JPEG, WebP, and GIF images.
Long text is read in bounded chunks. Call the same URL again with the returned next_start_index:
{
"url": "https://example.com/long-page",
"start_index": 8000,
"max_length": 8000
}Successful fetches are cached in memory for five minutes so offset reads normally use the same extracted document. Search results are cached for two minutes to avoid repeating identical SearXNG work during an agent run. Both caches are bounded, coalesce concurrent duplicate requests, and may be discarded at any time; tool correctness never depends on them.
Related MCP server: Basic MCP Tools
Requirements
Node.js 20.18.1 or newer
An existing SearXNG instance with JSON responses enabled
Set its base URL in the environment or in this package's .env file:
SEARXNG_URL=http://127.0.0.1:8088The server starts even when SearXNG is unavailable so fetch_url remains usable. Calls to web_search return a clear connection error until SearXNG is reachable.
Install
git clone https://github.com/yoloyash/web-basics-mcp.git
cd web-basics-mcp
npm install
npm run buildConfigure an MCP client to run build/index.js over stdio. For example:
codex mcp add web-basics -- node /absolute/path/to/web-basics-mcp/build/index.jsTool Inputs
web_search
{
"query": "Model Context Protocol",
"limit": 5
}limit defaults to 5 and accepts values from 1 through 10. Results use the stable shape {link, title, snippet}.
fetch_url
{
"url": "https://example.com",
"start_index": 0,
"max_length": 8000
}start_indexdefaults to 0.max_lengthdefaults to 8000 and is capped at 20000.Text responses report
total_chars,returned_chars,truncated, and, when more content remains,next_start_index.HTML uses Defuddle first and Mozilla Readability as a gated fallback. The response reports the selected
extractorand the fallback reason when applicable.Defuddle's optional network-backed extractors are disabled. Every remote request stays in this server's validated HTTP path.
Reddit post URLs are fetched through Reddit's RSS feed and include the post plus comments available in that feed. RSS may contain fewer comments than the website.
Safety And Limits
Only public HTTP(S) URLs are accepted.
URL credentials, private hostnames, private DNS results, and unsafe redirects are rejected.
Each redirect is validated independently.
Requests use timeouts, bounded retries, response-size limits, and a stable user agent.
Standard responses and images are capped at 5 MiB; PDFs are capped at 15 MiB.
Fetch caching respects
Cache-Control: no-store,no-cache, andmax-age=0.
This server intentionally does not provide browser automation, JavaScript rendering, crawling, authentication, cookies, proxy/VPN routing, or answer synthesis.
Development
npm test
npm pack --dry-runTests use saved fixtures and local stubs rather than repeatedly querying public services.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseAqualityCmaintenanceMCP server that provides a search_web tool to query a self-hosted SearXNG instance and return structured web search results.1
- FlicenseNot gradedqualityBmaintenanceA self-hosted MCP server providing private web search, web page fetching, and current date/time tools, powered by a bundled SearXNG instance for API-key-free local search.2
- AlicenseAqualityBmaintenanceA self-hosted MCP server for web search with multi-engine support, combining search, URL fetching, and deep research along with proxy routing and deduplication.3MIT
- AlicenseAqualityBmaintenanceAn MCP server providing web search, image search, and page scraping tools to LLMs without requiring API keys.39MIT
Related MCP Connectors
Free remote MCP server for fetching public web pages through a rotating proxy pool.
Serper MCP — wraps the Serper Google Search API (serper.dev)
MCP server for Google search results via SERP API
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/yoloyash/web-basics-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server