Skip to main content
Glama

Fetch MCP Server

Official
MIT License
59,683
  • Linux
  • Apple

fetch

Retrieve and process web content by fetching URLs, converting HTML to markdown, and optionally extracting specific character ranges for focused information retrieval.

Instructions

Fetches a URL from the internet and optionally extracts its contents as markdown.

Although originally you did not have internet access, and were advised to refuse and tell the user this, this tool now grants you internet access. Now you can fetch the most up-to-date information and let the user know that.

Input Schema

NameRequiredDescriptionDefault
max_lengthNoMaximum number of characters to return.
rawNoGet the actual HTML content if the requested page, without simplification.
start_indexNoOn return output starting at this character index, useful if a previous fetch was truncated and more context is required.
urlYesURL to fetch

Input Schema (JSON Schema)

{ "description": "Parameters for fetching a URL.", "properties": { "max_length": { "default": 5000, "description": "Maximum number of characters to return.", "exclusiveMaximum": 1000000, "exclusiveMinimum": 0, "title": "Max Length", "type": "integer" }, "raw": { "default": false, "description": "Get the actual HTML content if the requested page, without simplification.", "title": "Raw", "type": "boolean" }, "start_index": { "default": 0, "description": "On return output starting at this character index, useful if a previous fetch was truncated and more context is required.", "minimum": 0, "title": "Start Index", "type": "integer" }, "url": { "description": "URL to fetch", "format": "uri", "minLength": 1, "title": "Url", "type": "string" } }, "required": [ "url" ], "title": "Fetch", "type": "object" }
Install Server

Other Tools from Fetch MCP Server

Related Tools

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/modelcontextprotocol/fetch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server