Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Rust MCP server for denoised web search — fetch, clean, and rerank web content for AI agents.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
제작자가 레지스트리에 설치 정보를 올리지 않았어요. 아래 제작자의 README를 확인하세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 annibale-x 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.8)은 8개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요.
같은 카테고리에는: Context7, Codebase Memory, Exa
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
WebShift is a Rust library and MCP server that shifts noisy web pages into clean, right-sized text for LLM consumption.
Raw HTML is mostly junk: scripts, ads, navigation menus, cookie banners, tracking pixels. Feeding it directly to an LLM floods the context window with tens of thousands of useless tokens and leaves no room for reasoning. WebShift strips all that noise, sterilizes the text, and enforces strict size budgets so the model receives only the content that matters.
Depending on the features you enable, WebShift can be four things:
| Use case | Crate | Feature flags | What it does |
|---|---|---|---|
| HTML denoiser | webshift | default-features = false | clean() — pure Rust HTML-to-text pipeline. Strips noise elements, sterilizes Unicode/BiDi, collapses whitespace. Zero network, zero config. Drop into any Rust project that processes web content for LLMs. |
| HTML text rewriter | webshift | features = ["text-map"] | extract_text_nodes() + replace_text_nodes() — extract individual text nodes from HTML, manipulate them (translate, rewrite, simplify), and rebuild the HTML with structure intact. Tags, attributes, and links are never touched. |
| Web content client | webshift | default or features = ["llm"] | fetch() + query() — streaming HTTP fetcher with size caps, 8 search backends, BM25 reranking, optional LLM query expansion and summarization. Full pipeline from search query to structured results. |
| MCP server | webshift-mcp | all features | Native binary (mcp-webshift) that exposes webshift_query, webshift_fetch, and webshift_onboarding over MCP stdio. Single static binary, zero runtime dependencies. |
text-map does preserve the DOM structure for text rewriting use cases.)Question
| +- (optional) LLM query expansion -> multiple search variants | +- Search via backend (SearXNG, Brave, Tavily, Exa, SerpAPI, Google, Bing, HTTP) | +- Deduplicate + filter binary URLs | +- Streaming fetch with per-page size cap | +- HTML cleaning -> plain text (noise elements, scripts, nav removed) | +- Unicode/BiDi sterilization | +- BM25 deterministic reranking | +- (optional) LLM-assisted tier-2 reranking | +- Budget-aware truncation across all sources | +- (optional) LLM Markdown summary with inline citations | +- Structured JSON output
For a detailed explanation of each pipeline stage, BM25 parameters, adaptive budget allocation, and real compression metrics see Under the Hood. For the full configuration reference (TOML, env vars, CLI args) see Configuration. For ready-to-use examples see Use Cases.
cargo install webshift-mcp
The binary is called mcp-webshift.
cargo install --path crates/webshift-mcp
# Full pipeline (search + fetch + clean + rerank)
webshift = "0.2"
webshift = { version = "0.2", default-features = false }
webshift = { version = "0.2", default-features = false, features = ["text-map"] }
webshift = { version = "0.2", features = ["llm"] }
The easiest option is SearXNG — free, self-hosted, no API key:
docker run -d -p 8080:8080 searxng/searxng
No Docker? Use a cloud backend — see Search backends.
{
"mcpServers": { "webshift": { "command": "mcp-webshift", "args": ["--default-backend", "searxng"] } } }
That's it. The agent now has webshift_query, webshift_fetch, and webshift_onboarding.
For client-specific setup see docs/integrations/.
| Tool | Description |
|---|---|
webshift_query | Full search pipeline: search + fetch + clean + rerank + (optional) summarize |
webshift_fetch | Single page fetch and clean |
webshift_onboarding | Returns a JSON guide for the agent (budgets, backends, tips) |
webshift_query parameters| Parameter | Type | Default | Description |
|---|---|---|---|
queries | string or list | required | Search query or list of queries |
num_results_per_query | integer | 5 | Results per query |
lang | string | none | Language filter (e.g. "en") |
backend | string | config default | Override search backend |
Resolution order (highest priority first):
--default-backend, --brave-api-key, etc.WEBSHIFT_* prefixwebshift.toml (current dir, then ~/webshift.toml)[server]
max_query_budget = 32000 # total char budget across all sources max_result_length = 8000 # per-page char cap max_total_results = 20 # hard cap on results per call max_download_mb = 1 # streaming cap per page (MB) search_timeout = 8 # seconds results_per_query = 5 oversampling_factor = 2 adaptive_budget = "auto" # "auto" | "on" | "off" — budget allocation mode
[backends] default = "searxng"
[backends.searxng] url = "http://localhost:8080"
[backends.brave] api_key = "BSA-..."
[backends.tavily] api_key = "tvly-..."
[backends.exa] api_key = "..."
[backends.serpapi] api_key = "..." engine = "google" # google | bing | duckduckgo | yandex
[backends.google] api_key = "..." cx = "..." # Custom Search Engine ID
[backends.bing] api_key = "..." market = "en-US"
[backends.http] url = "https://my-search.example.com/api/search" query_param = "q" count_param = "limit" results_path = "data.items" # dot-path to results array in JSON response title_field = "title" url_field = "link" snippet_field = "description"
[backends.http.headers] "Authorization" = "Bearer my-token"
[llm] enabled = false base_url = "http://localhost:11434/v1" # OpenAI-compatible api_key = "" model = "gemma3:27b" timeout = 60 expansion_enabled = true summarization_enabled = true llm_rerank_enabled = false
For every setting with all three config methods (TOML, env vars, CLI args) and plain-language descriptions, see the full Configuration Reference. Ready-to-use config examples are in Use Cases and examples/.
WEBSHIFT_DEFAULT_BACKEND=searxng
WEBSHIFT_SEARXNG_URL=http://localhost:8080 WEBSHIFT_BRAVE_API_KEY=BSA-xxx WEBSHIFT_GOOGLE_API_KEY=xxx WEBSHIFT_GOOGLE_CX=xxx WEBSHIFT_BING_API_KEY=xxx WEBSHIFT_LLM_ENABLED=true WEBSHIFT_LLM_BASE_URL=http://localhost:11434/v1 WEBSHIFT_LLM_MODEL=gemma3:27b
| Backend | Auth | Notes |
|---|---|---|
| SearXNG | none | Self-hosted, free. Default: http://localhost:8080 |
| Brave | API key | Free tier. brave.com/search/api |
| Tavily | API key | AI-oriented. tavily.com |
| Exa | API key | Neural search. exa.ai |
| SerpAPI | API key | Multi-engine proxy (Google, Bing, DDG...). serpapi.com |
| API key + CX | Custom Search. Free: 100 req/day. programmablesearchengine.google.com | |
| Bing | API key | Web Search API. Free: 1,000 req/month. Microsoft Azure |
| HTTP | configurable | Generic REST backend — no code required, TOML-only config |
All opt-in — disabled by default, no data leaves your machine unless enabled.
| Feature | What it does |
|---|---|
| Query expansion | Single query -> N complementary search variants |
| Summarization | Markdown report with inline [1] [2] citations |
| LLM reranking | Tier-2 reranking on top of deterministic BM25 |
Cross-language normalization (bonus): when BM25 reranking surfaces pages in
foreign languages (e.g. Chinese, Japanese, Arabic), the LLM summarizer still
produces the final report in the prompt language. The agent receives clean,
readable output regardless of the language mix in the source pages.
Works with any OpenAI-compatible API (OpenAI, Ollama, vLLM, LM Studio, etc.):
[llm]
enabled = true base_url = "http://localhost:11434/v1" model = "gemma3:27b"
Always active — the core value proposition:
| Protection | Description |
|---|---|
max_download_mb | Streaming cap — never buffers full response |
max_result_length | Hard cap on characters per cleaned page |
max_query_budget | Total character budget across all sources |
max_total_results | Hard cap on results per call |
| Binary filter | .pdf, .zip, .exe, etc. filtered before any network request |
| Unicode sterilization | BiDi control chars, zero-width chars removed |
use webshift::{Config, clean, fetch, query};
// Clean raw HTML — cap output at 8000
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요