Retrieves detailed information about HTTP status codes including description, category, and common use cases. Access via MCP in Cursor or Windsurf, or call GET /v1/misc/status-code with a code parameter. Returns structured data about any standard HTTP status code from 100-599, helping AI agents provide accurate web development guidance instead of approximate explanations.
curl "https://tinyfn.io/v1/misc/status-code" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/misc/status-code', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/misc/status-code',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's miscellaneous tools:
{
"mcpServers": {
"tinyfn-misc": {
"url": "https://tinyfn.io/mcp/misc",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Call the endpoint with ?code=418 to get details about the "I'm a teapot" status, including its RFC specification and intended use case.
Yes, the MCP tool provides instant access to status code meanings, categories (client error, server error, etc.), and typical scenarios where each code appears.
Returns the code number, official phrase, detailed description, category classification, and common use cases in structured JSON format.
The tool covers standard HTTP status codes defined in RFCs. Custom codes outside the 100-599 range may not have detailed information available.
Provides consistent, accurate descriptions with context about when each code is appropriate, eliminating guesswork during API development and debugging.
Get your free API key and start using Status Code Info in seconds.
Get Free API Key