Zig Docs MCP
Model Context Protocol (MCP) server that provides up-to-date documentation for the Zig programming language standard library and builtin functions.
It uses the same approach as Zig's official autodoc (ziglang.org) by reading STD lib source files directly through a WASM module. However instead of returning HTML, it outputs Markdown which significantly reduces token usage.
Tip Add use zigdocs to your prompt if you want to explicitly instruct the LLM to use Zig docs tools. Otherwise, LLM will automatically decide when to utilize MCP tools based on the context of your questions.
Installation
Claude Code
Using Node:
claude mcp add zig-docs npx -y zig-mcp@latest --version master --update-policy manual
Using Bun:
claude mcp add zig-docs bunx zig-mcp@latest --version master --update-policy manual
... continue reading