HTTP Message Parser
Parse a header block, raw request, or raw response into structured JSON with smart Set-Cookie / Cache-Control / Content-Type breakdowns.
POST /v1/users HTTP/1.1
Headers (4)
| Host | api.example.com |
| Content-Type | application/json mediaTypeapplication/json |
| Authorization | Bearer abc123 |
| Content-Length | 41 |
Body (44 bytes)
{"email":"alice@example.com","name":"Alice"}</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/http-message-parser/run \
-H "Content-Type: application/json" \
-d '{
"mode": "headers",
"input": "your input here"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/http-message-parser/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"mode": "headers",
"input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_http_message_parserFull reference: developer docs · OpenAPI spec
Three modes
- Headers only — paste a header block, get structured JSON.
- Raw request — start line + headers + body, parsed into method/path/version/headers/body.
- Raw response — status line + headers + body, parsed into version/status/reason/headers/body.
Smart sub-parsing
Set-Cookie, Cache-Control, Content-Type, and Content-Dispositionare split into structured fields so you don't have to eyeball directive lists.
You might also like
- Cache-Control Header BuilderBuild HTTP Cache-Control headers with presets for static assets, APIs, and private responses.
- HTTP Cookie Builder & ParserConstruct or decode Set-Cookie headers with SameSite, Secure, HttpOnly, and prefix validation.
- cURL ConverterParse a curl command and emit fetch, Node https, Python requests, Ruby Net::HTTP, Go net/http, PowerShell, HTTPie, and wget equivalents.
- HTTP Status Code ReferenceSearchable reference of every HTTP status code with descriptions and category.