
SearchForge
io.github.divyanshu-iitianPublished by GitHub account divyanshu-iitianv0.2.0Updated Oct 27, 2026
Free open-source web search and page reading for LLMs, AI agents, and RAG.
Overview
Free open-source web search and page-reading MCP server that gives an assistant routed, citation-ready search results and clean Markdown from public URLs.
- What you can do
- Search the web with intent-aware routing across web, code, academic and community sources, with deduplicated, fused, citation-ready results
- Read a public HTTP(S) URL and return its content as clean Markdown for LLM or RAG use
- Check live provider capability, access tier and latency to see which sources are working
- Optionally use the same retrieval layer through a REST API, CLI or TypeScript SDK
- When to use it
- Useful when an assistant needs web, code, academic or community search and page reading without signing up for a paid search vendor, especially for RAG pipelines or agent workflows that want provenance and per-source health reporting.
- Requirements
- Runs as a local stdio process via npx from GitHub, a cloned Node.js build, or the published OCI image run with Docker. All default providers work without keys; optional settings are SEARCHFORGE_SEARXNG_URL for a self-hosted SearXNG instance, GITHUB_TOKEN for higher GitHub quotas, CROSSREF_MAILTO for Crossref polite-pool routing, and BRAVE_SEARCH_API_KEY for the Brave backend. Network access to the upstream providers is required.
Installation
In SourceWeft
- Open SearchForge in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
SearchForge
Open-source web search API and MCP server for LLMs, agents, and RAG.
[CI] [License: MIT] [Node.js] [MCP] [Website] [Official MCP Registry]
One local gateway. Intent-aware search. Clean Markdown. REST, MCP, CLI, and TypeScript.
Website · Quick start · Free tools · MCP · API · Design
SearchForge is a free, open-source web search API and MCP server for LLMs, AI agents, and retrieval-augmented generation (RAG) pipelines. It provides a predictable retrieval layer without forcing every project to integrate a paid search vendor. SearchForge routes each query to the right source, isolates provider failures, deduplicates URLs, fuses rankings, and turns public pages into LLM-ready Markdown.
It does not generate answers, hide citations, scrape public SearXNG instances, or send telemetry.
What you get
SearchForge starts with all no-key adapters enabled. auto is the default and routes code, research, and current/community intent to relevant sources while retaining a web fallback. A GitHub token only raises the public API quota, and Brave remains an optional keyed backend. Broad, independent web metasearch is provided by the included SearXNG stack.
Quick start
Try it without cloning
The first run downloads and builds the package from GitHub. Searches use intent-aware auto routing unless you select a category.
Zero-key local CLI
Full web search with private SearXNG
This starts SearchForge on port 3000 and a private, JSON-enabled SearXNG on port 8080. Before exposing the stack, change the SearXNG secret, set SEARCHFORGE_API_KEY, and terminate TLS at a trusted proxy.
Free tools
Search by capability
The default auto category detects code, academic, and current/community signals and queries the matching source families alongside the web fallback. Explicit categories prevent irrelevant providers from being queried. An explicit providers list overrides category routing, which is useful for evaluations.
Read a URL as Markdown
read_url accepts public HTTP(S) URLs only. Credentials, localhost, private IP literals, and non-web protocols are rejected. Responses are size-bounded, timed out, and cached.
Diagnose the whole retrieval path
Doctor performs real, bounded probes and reports each provider's access tier, capability, latency, and error. A failed source produces degraded, not a misleading all-or-nothing status.
MCP
SearchForge exposes three stdio tools:
web_search— routed, citation-ready structured searchread_url— clean Markdown from a public URLsearch_status— live capability and latency report
The search and status tools return MCP structured content as well as readable text.
Run the MCP server straight from GitHub without a clone:
SearchForge is also published in the
official MCP Registry
as io.github.divyanshu-iitian/searchforge. To run the registry-backed OCI image
directly from any MCP client that supports a Docker command:
REST API
Search
Read
Other endpoints:
See the full OpenAPI contract.
TypeScript SDK
Until an npm release is published:
Provider details
SearchForge intentionally does not configure public SearXNG instances. They often disable JSON or limit automated traffic; the Docker stack is the stable free path.
How it works
Each idempotent provider call has its own abortable timeout. One outage cannot erase healthy results. Tracking parameters are removed before deduplication, and every contributing provider remains in sources.
This capability-first design is inspired by Agent Reach. Agent Reach helps an agent operate many upstream tools directly; SearchForge complements that approach with one stable, embeddable retrieval API for RAG applications.
Configuration
Production boundary
- Set an API key before binding to a public interface.
- Search results and page content are untrusted input; delimit them and apply prompt-injection defenses.
- The built-in cache and rate limiter are process-local. Use shared infrastructure for multiple replicas.
- Provider bodies and credentials are excluded from surfaced errors.
healthzproves the process is alive;/v1/doctorchecks dependencies.
See SECURITY.md, CONTRIBUTING.md, and CHANGELOG.md.
Principles
- Evidence over generated answers
- Free and self-hosted paths before vendor lock-in
- Partial results over total failure
- Honest capability and quota reporting
- Stable contracts and explicit provenance
- No telemetry by default
License
MIT © Divyanshu.
If SearchForge helps your agent, star the repository and share your integration in Discussions.
Source: README.md at commit fe12c22
Tools
0Version history
1- v0.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
