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

NameTypeDescription
query requiredstringSearch words, e.g. "Array.prototype.flatMap".
localestringDocs locale. Default "en-US".
limitintegerResults (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:

call_tool arguments
{
  "name": "knowledge__mdn_search",
  "arguments": {
    "query": "…"
  }
}

Or connect the Public Knowledge server directly, which lists 47 tools including this one:

Run in your terminal
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 ….

More from Public Knowledge