Home / Servers / Fetch / fetch

Fetch

An MCP tool from the Fetch server, hosted on mcp.hjlabs.in.

Fetch a public URL and return its content as Markdown (or raw text with raw=true). Long content is paged: call again with start_index to continue. Respects robots.txt.

Name on the gateway: fetch__fetch · read-only.

Parameters

NameTypeDescription
url requiredstringThe http or https URL to fetch.
max_lengthintegerMaximum characters to return.
start_indexintegerCharacter offset to start from, for continuing a long page.
rawbooleanReturn the raw content instead of converting HTML to Markdown.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "fetch__fetch",
  "arguments": {
    "url": "…"
  }
}

Or connect the Fetch server directly, which lists 1 tools including this one:

Run in your terminal
claude mcp add --transport http hj-fetch https://mcp.hjlabs.in/mcp/fetch \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the fetch tool with url set to ….