Home / Servers / Public Knowledge / mdn_search
Mdn search
An MCP tool from the Public Knowledge server, hosted on mcp.hjlabs.in.
Search MDN Web Docs for web platform documentation (HTML, CSS, JavaScript, Web APIs, HTTP): title, summary and URL. Use it to find the authoritative page for a web feature; read it with the Fetch server.
Name on the gateway: knowledge__mdn_search · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
query required | string | Search words, e.g. "Array.prototype.flatMap". |
locale | string | Docs locale. Default "en-US". |
limit | integer | Results (default 10, max 30). |
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": "knowledge__mdn_search",
"arguments": {
"query": "…"
}
}Or connect the Public Knowledge server directly, which lists 47 tools including this one:
claude mcp add --transport http hj-knowledge https://mcp.hjlabs.in/mcp/knowledge \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the mdn search tool with query set to ….