Home / Servers / Web and Network / http_headers

Http headers

An MCP tool from the Web and Network server, hosted on mcp.hjlabs.in.

Fetch a URL and report its HTTP status, final URL after redirects, the redirect chain, response headers, server, content type, size and response time. Does not return the body. Use it to debug redirects, caching headers, CORS, or to see what a server is running. Private addresses are refused.

Name on the gateway: web__http_headers · read-only.

Parameters

NameTypeDescription
url requiredstringFull URL with scheme.
methodget | headHEAD is lighter; GET is used automatically if HEAD is refused.

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": "web__http_headers",
  "arguments": {
    "url": "…"
  }
}

Or connect the Web and Network server directly, which lists 22 tools including this one:

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

Try asking

Use the http headers tool with url set to ….

More from Web and Network