web-docs-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCS_DIR | No | Directory where fetched markdown docs are saved | ./docs |
| CACHE_DIR | No | Directory for TTL cache (raw HTML + fetched markdown) | ./.cache/web-docs |
| USER_AGENT | No | User-Agent sent to upstream servers | Chrome-like UA |
| GITHUB_TOKEN | No | Optional GitHub token to lift rate limits | |
| DISABLE_CACHE | No | Disable caching (useful for debugging) | false |
| CACHE_TTL_HOURS | No | Cache time-to-live in hours | 168 |
| HTTP_TIMEOUT_MS | No | HTTP timeout per request in milliseconds | 20000 |
| DEFAULT_SAVE_TO_DOCS | No | Default behavior for saving docs to docs/ folder | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| web_searchA | Free web search via DuckDuckGo HTML (no API key, no per-query cost). Returns a list of {title, url, snippet}. Pass any URL to |
| fetch_urlA | Fetch a single URL and return clean markdown. Handles HTML (via turndown+GFM), JSON (pretty-printed), and plain text. Cached locally. Optionally saves to docs/.md with YAML frontmatter (source URL, fetch date, content type). |
| lib_docsA | Fetch README/docs for a library by name. Tries npm → PyPI → crates.io → Go → GitHub automatically. Accepts |
| search_docsA | Language & API documentation search. Biases DuckDuckGo results to official docs sites (MDN, docs.python.org, pkg.go.dev, doc.rust-lang.org, etc.). Set fetch_top=true to retrieve the full markdown of the top hit instead of just the result list. LOCAL-FIRST: searches your docs/ folder first; only falls back to the web if no local match. |
| list_docsA | Browse and search the local docs/ folder. Three modes: (1) no args = list all saved docs, (2) { query } = keyword search across docs/, (3) { path } = read the full body of a specific doc by relative path or slug. Use this BEFORE going to the web — your project may already have the docs you need. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/Aleksandrr/web-docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server