mcpField
B
Bun Documentation MCP

Bun Documentation MCP

Local
github.com/ghoulrMemory & Knowledge10Updated 58w ago

About Bun Documentation MCP

Bun Documentation MCP serves Bun documentation to AI assistants, using docs matched to the project's Bun version. It includes regex-based search to help developers find API guidance and Bun-specific information.

Key features

  1. 01Documentation matched to Bun version
  2. 02JavaScript regex documentation search
  3. 03Structured context for AI assistants
  4. 04Access to Bun API guidance

Use cases

  1. 01Find APIs for a specific Bun version
  2. 02Search Bun docs while coding
  3. 03Check Bun-specific features and practices

MCP support

The MCP server exposes Bun documentation and a grep-based search tool to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"bun-doc": {
"command": "npx",
"args": [
"-y",
"bun-doc-mcp"
]
}
}
}
Run commandnpx -y bun-doc-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmbun-doc-mcp

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

README image Bun Documentation MCP

A MCP server that provides Bun documentation to AI assistants. This enables your AI to access up-to-date Bun documentation and provide accurate guidance on Bun APIs.

✨ Features

  • Version-matched documentation: uses your local node_modules/bun-types/docs/, or syncs from GitHub based on your Bun version
  • Search functionality: includes a grep tool with JavaScript regex support for searching documentation
  • Built with Bun: for Bun
  • AI-friendly: structured to provide relevant context to AI assistants

🚀 Quick Start

If you're already in a Bun project, you can try this prompt from bun project template first:

Read the Bun API docs in node_modules/bun-types/docs/**.md.

For more reliable access and search capabilities, install this MCP server:

📦 Installation

Claude Code:

# Standard installation (uses your local Bun docs)
claude mcp add bun-docs bunx bun-doc-mcp

Manual configuration:

{
  "mcpServers": {
    "bun-docs": {
      "type": "stdio",
      "command": "bunx",
      "args": ["bun-doc-mcp"],
      "env": {}
    }
  }
}

🎉 You're Ready! Happy coding with Bun! 🚀

🔧 Usage

Once installed, your AI assistant can:

  • Access comprehensive Bun documentation
  • Suggest appropriate Bun APIs over Node.js alternatives
  • Help with Bun-specific features and best practices
  • Provide accurate answers based on current documentation

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.