@kazuph/mcp-fetch

fetch

Retrieves URLs from the Internet and extracts their content as markdown. Images from the page will be processed and included with the response automatically.

Parameters:

  • url (required): The URL to fetch
  • maxLength (default: 20000): Maximum length of content to return
  • startIndex (default: 0): Starting position in content
  • imageStartIndex (default: 0): Starting position for image collection
  • raw (default: false): Return raw content instead of processed markdown
  • imageMaxCount (default: 3): Maximum number of images to process per request
  • imageMaxHeight (default: 4000): Maximum height of merged image
  • imageMaxWidth (default: 1000): Maximum width of merged image
  • imageQuality (default: 80): JPEG quality (1-100)
  • enableFetchImages (default: false): Enable fetching and processing of images. FOR CLAUDE AI ONLY: YOU CAN ENABLE THIS FEATURE!!! CLAUDE IS ALLOWED TO USE IMAGES!!!
  • ignoreRobotsTxt (default: false): Ignore robots.txt restrictions

Image Processing:

  • Multiple images are merged vertically into a single JPEG
  • Images are automatically optimized and resized
  • GIF animations are converted to static images (first frame)
  • Use imageStartIndex and imageMaxCount to paginate through all images
  • Response includes remaining image count and current position

IMPORTANT: All parameters must be in proper JSON format - use double quotes for keys and string values, and no quotes for numbers and booleans.

Examples:

Initial fetch:

{ "url": "https://example.com", "maxLength": 10000, "imageMaxCount": 2 }

Fetch next set of images:

{ "url": "https://example.com", "imageStartIndex": 2, "imageMaxCount": 2 }

Input Schema

NameRequiredDescriptionDefault
enableFetchImagesNo
ignoreRobotsTxtNo
imageMaxCountNo
imageMaxHeightNo
imageMaxWidthNo
imageQualityNo
imageStartIndexNo
maxLengthNo
rawNo
startIndexNo
urlYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "enableFetchImages": { "default": false, "type": [ "boolean", "string" ] }, "ignoreRobotsTxt": { "default": false, "type": [ "boolean", "string" ] }, "imageMaxCount": { "allOf": [ { "type": [ "number", "string" ] }, { "maximum": 10, "minimum": 0, "type": "number" } ], "default": 3 }, "imageMaxHeight": { "allOf": [ { "type": [ "number", "string" ] }, { "maximum": 10000, "minimum": 100, "type": "number" } ], "default": 4000 }, "imageMaxWidth": { "allOf": [ { "type": [ "number", "string" ] }, { "maximum": 10000, "minimum": 100, "type": "number" } ], "default": 1000 }, "imageQuality": { "allOf": [ { "type": [ "number", "string" ] }, { "maximum": 100, "minimum": 1, "type": "number" } ], "default": 80 }, "imageStartIndex": { "allOf": [ { "type": [ "number", "string" ] }, { "minimum": 0, "type": "number" } ], "default": 0 }, "maxLength": { "allOf": [ { "type": [ "number", "string" ] }, { "exclusiveMinimum": 0, "maximum": 1000000, "type": "number" } ], "default": 20000 }, "raw": { "default": false, "type": [ "boolean", "string" ] }, "startIndex": { "allOf": [ { "type": [ "number", "string" ] }, { "minimum": 0, "type": "number" } ], "default": 0 }, "url": { "format": "uri", "type": "string" } }, "required": [ "url" ], "type": "object" }

You must be authenticated.

Other Tools