FetchV2

v2.2.0
io.github.praveenc/fetchv2-mcp-server Checked 4 days ago Published 6 days ago

Fetch and extract web pages, discover links, and read llms.txt documentation indexes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fetch

Fetch a single webpage and extract its main content as clean markdown. USE THIS TOOL WHEN: - You need to read an article, documentation page, or blog post - You want clean, readable text without boilerplate (navbars, ads, footers) - The user provides a specific URL to read DO NOT USE WHEN: - You need to fetch multiple URLs (use fetch_batch instead - fewer round trips) - You want to discover what pages exist on a site (use discover_links first) PAGINATION: Large pages are automatically truncated. The response will include 'use start_index=N to continu…

ParameterTypeDescription
url *stringThe webpage URL to fetch (must be http:// or https://)
bypass_robots_txtbooleanSkip robots.txt check. Only for user-initiated requests.
get_raw_htmlbooleanSkip extraction and return raw HTML. Use when you need original markup or extraction fails.
include_linksbooleanPreserve hyperlinks in markdown. Enable to follow references.
include_metadatabooleanInclude title, author, date at top. Disable to save tokens.
include_tablesbooleanPreserve tables in markdown. Disable for text-only articles.
max_lengthintegerMaximum characters to return. Use 1000-2000 for summaries, 5000 (default) for full content.
start_indexintegerCharacter offset for pagination. Use the value from 'start_index=N' in truncated responses.

fetch_batch

Fetch multiple webpages in a single request and return combined content. USE THIS TOOL WHEN: - You have 2-10 URLs to read (e.g., from discover_links results) - Comparing content across multiple pages - Gathering context from several documentation pages at once KEY BENEFIT: One tool call instead of multiple fetch() calls = fewer round trips, faster results, and reduced overhead in supervised/approval workflows. WORKFLOW EXAMPLE: 1. discover_links(url="https://docs.example.com", filter_pattern="/api/") 2. fetch_batch(urls=[...returned links...], max_le…

ParameterTypeDescription
urls *arrayList of webpage URLs to fetch (max 10). URLs are fetched sequentially and results combined.
get_raw_htmlbooleanSkip content extraction and return raw HTML for all URLs.
max_length_per_urlintegerCharacter limit per URL. Use 1000-1500 when fetching many pages. Default 2000.

fetch_llms_txt

Fetch and parse an llms.txt file to discover LLM-friendly documentation. USE THIS TOOL WHEN: - A site provides an llms.txt file for AI-friendly content discovery - You need to understand what documentation is available - You want to fetch structured docs in a single request WHAT IS llms.txt: A proposal for sites to provide LLM-friendly content at /llms.txt. It's a markdown file listing documentation links with descriptions. See https://llmstxt.org for the specification. WORKFLOW: 1. fetch_llms_txt(url="https://example.com/llms.txt") → Get struc…

ParameterTypeDescription
url *stringURL to an llms.txt file (e.g., https://example.com/llms.txt)
include_contentbooleanIf true, also fetch content of all linked pages. Default false.
max_length_per_urlintegerWhen include_content=True, max chars per linked page. Default 2000.