Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Web search that doesn't wreck your AI's memory.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"webgate": {
"command": "uvx",
"args": [
"mcp-webgate"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add webgate -- uvx mcp-webgate프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"webgate": {
"command": "uvx",
"args": [
"mcp-webgate"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"webgate": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-webgate"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 x-monk 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.32)은 7개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: 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, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Web search that doesn't wreck your AI's memory.
mcp-webgate is an MCP server that gives your AI clean, bounded web content — across all major AI clients:
What is mcp-webgate? When your AI uses a standard "fetch URL" tool, it gets the raw HTML of the page — ads, menus, scripts, cookie banners and all. A single news article can dump 200,000 tokens of garbage into the AI's memory, wiping out your entire conversation.
mcp-webgate is a protective filter that sits between your AI and the web:
The result: clean, bounded, useful web content — always.
Searching for *"mcp model context protocol"* with LLM features on:
Query → LLM expands to 5 search variants → 20 pages found, 13 fetched in parallel
Raw HTML downloaded 5.16 MB (~1,290,000 tokens) After cleaning 52.1 KB ( ~13,000 tokens) — 99% noise stripped After LLM summary 5.8 KB ( ~1,450 tokens) — structured report with citations
13 sources distilled into ~1,450 tokens. A single naive fetch of just *one* of those pages (e.g. a security blog at 563 KB) would dump ~140,000 tokens of raw HTML into your AI's context. webgate processes all 13 and delivers a clean briefing that fits in a footnote.
This is an intensive case (5 queries × 5 results). A typical search with 3–5 results still saves 95%+ of context compared to raw fetching — and your AI gets structured, ranked content instead of a wall of HTML soup.
uvxpip install uv
uvx runs Python tools without installing them permanently. You only need to do this once.
The easiest option is SearXNG — free, no account, runs locally:
docker run -d -p 8080:8080 --name searxng searxng/searxng
No Docker? Use a cloud backend instead (Brave, Tavily, Exa, SerpAPI) — see Backends.
See the Integrations table for your specific client. As a quick example, for Claude Desktop:
Open the config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd this:
{
"mcpServers": { "webgate": { "command": "uvx", "args": ["mcp-webgate"], "env": { "WEBGATE_DEFAULT_BACKEND": "searxng", "WEBGATE_SEARXNG_URL": "http://localhost:8080" } } } }
Restart the client after editing.
Search the web for: latest news on AI regulation
The AI will use webgate_query automatically. You're done.
Your question
↓ Search backend (SearXNG / Brave / Tavily / Exa / SerpAPI) ↓ [deduplicate URLs, block binary files, filter domains] Fetch pages in parallel (streaming — hard size cap per page) ↓ [optional: retry failed pages from reserve pool] Strip HTML junk (menus, ads, scripts, footers — lxml) ↓ Clean up text (invisible chars, unicode junk, BiDi tricks) ↓ BM25 reranking (best-matching results first — always active) ↓ [optional: LLM reranking] Cap total output to budget ↓ [optional: LLM summarization → compact Markdown report] Clean result lands in your AI's context
webgate gives your AI three tools:
webgate_fetch — read a single pageUse this when you already know the URL you want. The AI passes the URL and gets back the cleaned text — up to max_query_budget characters (default 32,000).
{ "url": "https://example.com/article", "max_chars": 32000 }
{
"url": "https://example.com/article", "title": "Article Title", "text": "cleaned text...", "truncated": true, "char_count": 12450 }
webgate_query — search + fetch + cleanRuns a full search cycle. Pass one query (or several) and get back cleaned, ranked results.
{ "queries": "how to set up a VPN on Linux", "num_results_per_query": 5 }
Multiple queries run in parallel and are merged:
{
"queries": ["VPN Linux setup", "best VPN Linux 2024"], "num_results_per_query": 5 }
Output without LLM — returns cleaned page content for each result:
{
"sources": [ { "id": 1, "title": "...", "url": "...", "content": "cleaned text...", "truncated": false } ], "snippet_pool": [ { "id": 6, "title": "...", "url": "...", "snippet": "..." } ], "stats": { "fetched": 5, "total_chars": 18200, "per_page_limit": 6400 } }
Output with LLM summarization — returns a compact Markdown report:
{
"summary": "## How to set up a VPN on Linux\n\nTo install...1", "citations": [{ "id": 1, "title": "...", "url": "..." }], "stats": { "fetched": 5, "total_chars": 58000 } }
Output when LLM fails — error reason shown, full sources returned as fallback:
{
"llm_summary_error": "ReadTimeout: LLM did not respond in time", "sources": [ "..." ], "stats": { "..." : "..." } }
snippet_pool contains extra results from the search that were not fetched (search-engine snippet only). The AI can use these to decide if more fetches are worthwhile.
webgate_onboarding — how-to guideReturns a JSON guide explaining how to use webgate effectively. The AI should call this once at the start of a session if in doubt about which tool to use.
Most frontier models follow MCP tool instructions automatically. Smaller or local models sometimes ignore the server-provided guidance and fall back to a built-in fetch tool instead — returning raw HTML that floods the context with noise.
If you notice this happening, add an explicit instruction block to your system prompt:
You have access to webgate tools for web search and page retrieval.
Follow these rules in every session:
At the start of each session, call webgate_onboarding to read the full operational guide.
This works because user system prompt instructions take precedence over MCP server-level guidance, making the constraint explicit at the highest-priority layer the model sees.
Tip: if your client supports named system prompts or prompt templates, save the block above as a reusable preset so you don't have to paste it every time.
This section explains what the key parameters do and when to change them. The defaults work well for most cases — only tweak if you have a specific reason.
webgate measures text in characters (not tokens). A rough conversion for English text:
4 characters ≈ 1 token
| Characters | Approximate tokens |
|---|---|
| 8,000 | ~2,000 |
| 32,000 | ~8,000 |
| 96,000 | ~24,000 |
webgate_fetch budgetWhen you fetch a single URL, the ceiling is max_query_budget (default 32,000 chars). The tool parameter max_chars can request less, but never more than this ceiling.
Why `max_query_budget` and not `max_result_length`? Because you're fetching one page — the "total output" IS that one page, so the right limit is the overall context budget, not the per-page cap designed for multi-source queries.
webgate_query budget — without LLMWith no LLM, the cleaned sources go directly to your AI's context. webgate distributes max_query_budget across all fetched pages so the total never exceeds the budget:
Per-page limit =
max_query_budget÷ number of results
(capped at
max_result_length)
| Results fetched | Per-page limit | Total output |
|---|---|---|
| 1 | 8,000 (cap) | ≤ 8,000 |
| 5 | 6,400 | ≤ 32,000 |
| 10 | 3,200 | ≤ 32,000 |
| 20 | 1,600 | ≤ 32,000 |
The total output is always at most max_query_budget, regardless of how many results you request — the per-page share automatically shrinks to compensate.
webgate_query budget — with LLM summarizationWhen a secondary LLM is summarizing, it *compresses* the content before passing the result to your primary AI. This means it's safe — and beneficial — to give it more raw material to work from.
webgate scales up the input using input_budget_factor (default 3):
LLM input budget =
max_query_budget×input_budget_factor
Default: 32,000 × 3 = 96,000 chars
| Results fetched | LLM input / page | Total LLM input | Output to your AI |
|---|---|---|---|
| 1 | 96,000 | 96,000 | compact report |
| 5 | 19,200 | 96,000 | compact report |
| 10 | 9,600 | 96,000 | compact report |
| 20 | 4,800 | 96,000 | compact report |
The secondary LLM sees much more content per page. Your primary AI sees only the final report — typically 1,000–3,000 tokens — regardless of how many sources were processed. This is the main efficiency advantage of LLM mode.
| Symptom | Fix |
|---|---|
| AI responses feel slow, too much text | Reduce max_query_budget (e.g. 16000) |
| AI answers are shallow or miss details | Increase max_query_budget (e.g. 48000) |
| LLM summary is thin or misses things | Increase input_budget_factor (e.g. 5) |
| LLM summary times out or is very slow | Reduce input_budget_factor (e.g. 2) or reduce results_per_query |
fetch returns too little of a long page | Increase max_query_budget (e.g. 64000) |
| Pages are slow to download | Reduce max_download_mb (e.g. 1, already default) |
| Server downloads too much garbage | Reduce max_download_mb (e.g. 1) |
Optional, opt-in. When llm.enabled = false (the default), webgate is fully deterministic. Enable the [llm] block to unlock three extra capabilities.
| Situation | Recommended setup | Typical latency overhead |
|---|---|---|
| Fast answers, general research | LLM disabled (default) — BM25-ranked clean sources, zero latency overhead | none |
| Deep research on a complex topic | Summarization on — get a cited Markdown report instead of raw pages | +5–30s |
| Broad topic, one query isn't enough | Expansion + Summarization — LLM generates variants and synthesizes all results | +6–35s |
| Result order matters more than speed | LLM reranking on — semantic ordering at the cost of one extra LLM call per query | +1–5s |
Privacy: with LLM disabled, no data leaves your machine except web requests. With LLM enabled, cleaned search results (not raw HTML) are sent to the configured `base_ur
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요