smart-webfetch-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| web_preflightA | Check page size and metadata before fetching. Returns estimated tokens, content type, and whether fetch is safe for context window. Always call this first to avoid context flooding. |
| web_smart_fetchA | Fetch URL with automatic truncation if content exceeds token limit. Use web_preflight first to check size. Returns markdown content. |
| web_fetch_codeA | Extract only code blocks from a page. Ideal for documentation pages with code examples. Returns code blocks with language annotations. |
| web_fetch_sectionA | Fetch only content under a specific heading. Case-insensitive heading match. Use when you only need a specific part of a large document. |
| web_fetch_chunkedA | Fetch large documents in chunks. Use for paginated reading of large docs. Returns chunk content plus metadata about total chunks available. |
| web_fetch_linksA | Extract all links from a page. Returns a markdown list of links with text and URL. Optionally filter by pattern or external links only. |
| web_fetch_tablesA | Extract tables from a page and return as markdown tables. Handles thead/tbody, th/td cells, colspan, and captions. |
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
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/mathisto/smart-webfetch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server