Home / Servers / Web and Network / mime_lookup
Mime lookup
An MCP tool from the Web and Network server, hosted on mcp.hjlabs.in.
Look up the MIME type for a file extension (e.g. "webp" → image/webp) or the usual extensions for a MIME type (e.g. "application/json" → json). Pure table lookup covering about 120 common types.
Name on the gateway: web__mime_lookup · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
extension | string | File extension or filename, e.g. "svg" or "report.pdf". |
mime_type | string | A MIME type to look up extensions for, e.g. "image/jpeg". |
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:
{
"name": "web__mime_lookup",
"arguments": {}
}Or connect the Web and Network server directly, which lists 22 tools including this one:
claude mcp add --transport http hj-web https://mcp.hjlabs.in/mcp/web \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the mime lookup tool with extension set to ….