Skip to main content
Glama

Context MCP Server

by LangGPT
MIT License
  • Apple
  • Linux

fetch

Retrieve web content from a URL and convert it to markdown using the Context MCP Server. Specify parameters like character limits or raw HTML output to customize fetched data for your needs.

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 of 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 of 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 Context 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/LangGPT/context-mcp-server'

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