Home / Directory / Bun Docs / search_bun

Search bun

An MCP tool from the Bun Docs server, run by Oven.

Search the Bun documentation, guides and blog. Returns ranked sections, each with a title, a deep link, the page path and the section's markdown. Use for conceptual or how-to questions ("websocket compression", "install frozen lockfile"). To read the whole page afterwards, call read_bun_page with the returned path.

Name on the gateway: bun_docs__search_bun.

Parameters

NameTypeDescription
query requiredstringSearch terms. Exact API names work well (Bun.serve, bun:sqlite, --frozen-lockfile).
limitintegerMax results (default 10).
sectiondocs | guides | blog | siteRestrict to one part of the site. Omit to search everything.

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": "bun_docs__search_bun",
  "arguments": {
    "query": "…"
  }
}

The first call connects Bun Docs to your account automatically; nothing to set up. About this server.

Try asking

Use the search bun tool with query set to ….

More from Bun Docs