← Back to directory
Z

Zig Docs MCP

Community
Look up Zig standard library and builtin documentation
Category
Dev Tools #282 of 751
Stars
★ 179 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
No credential needed
License
MIT
Last commit
⚠
Tools
4
53FMRS · D

This MCP server provides access to Zig standard library and builtin function documentation through local Zig or documentation fetched from ziglang.org. The README includes setup examples for several clients; a server manifest was not provided.

Strongest · Documentation 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
12/20
Maintenance
8/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 8/20
The README lists four documentation lookup tools and describes both local Zig documentation and an optional source from ziglang.org; their stated purposes appear consistent. The supplied static material contains no CI, tests, initialization handshake evidence, detailed parameter specifications, or error handling guidance, so startup and tool behavior cannot be verified. The score stays at or below the required cap of 12.
Security and permissions 12/20
The described functionality is limited to looking up Zig documentation and source code; the material shows no credential collection, destructive operations, or covert data transfer, and remote documentation is optional. The README does not explain remote request data flows, network boundaries, dependency permissions, or input handling, so the missing evidence lowers the score. No red-line evidence is present.
Maintenance 8/20
Repository metadata says the project is not archived and uses the MIT license, but the supplied material gives no release history, commit activity, issue response, dependency update practices, or security response channel. These limited signals are not enough to establish sustained maintenance, so points are deducted.
Documentation 13/20
The README explains tool purposes, documentation sources, and update policies, and includes configuration examples for Claude, Roo, Augment, and Claude Desktop. Tool parameters, limits, troubleshooting, network data flows, and security details are sparse, and there is no evidence that the examples were verified to work, so the score is below full marks.
Setup experience 12/20
The README provides npx and bunx client configurations and explains local and remote documentation modes, offering a fairly direct installation path. Local mode depends on an installed Zig compiler, while runtime and platform requirements, connection verification, and common troubleshooting steps are not fully documented. The static material also lacks verifiable CI and test evidence, so the score remains at or below 15.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesUses the network

Best for

  • Developers looking up Zig standard library or builtin function documentation.
  • Users who want documentation from their locally installed Zig compiler by default.

Not for

  • Users seeking general programming language documentation or material unrelated to Zig.
  • Users who need the server to execute code or modify project files.

Required permissions

  • Local mode needs access to the installed Zig compiler to provide documentation.
  • Remote mode needs network access to fetch documentation from ziglang.org and stores documentation in a platform-specific cache directory.

Risks and side effects

  • Documentation in local mode depends on the installed Zig version; remote mode depends on the selected version and availability of remote docs.
  • The daily and startup update policies check for remote documentation updates on a schedule or at server startup.

Setup

Before you start

Runtime:Node.js

Claude Desktop: add the configuration to its MCP settings file. The example uses Node.js npx with command npx and arguments -y zig-mcp@latest. Bun is also supported with command bunx and arguments zig-mcp@latest. The default documentation source is local Zig; to use remote docs, add --doc-source remote and --version <version>.

claude_desktop_config.json
{"mcpServers":{"zig-docs":{"command":"npx","args":["-y","zig-mcp@latest"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "zig-docs": {
      "command": "npx",
      "args": [
        "-y",
        "zig-mcp@latest"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.zig-docs]
command = "npx"
args = ["-y", "zig-mcp@latest"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add zig-docs -- npx -y zig-mcp@latest

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Check that list_builtin_functions, get_builtin_function, search_std_lib, and get_std_lib_item appear in your client's MCP tool list. Then ask it to list Zig builtin functions and confirm the server returns results.

Troubleshooting

  1. In local mode, confirm Zig is installed and `zig std` is available.
  2. In remote mode, check network access, the selected version, and documentation cache availability.
  3. Check that the client configuration command and arguments match the chosen Node.js or Bun setup.

Things to try

Once connected, you can ask your AI assistant things like:

  • List all Zig builtin functions.
  • Find and explain the Zig builtin function @import.
  • Search the Zig standard library for ArrayList.
  • Show the documentation and examples for std.ArrayList.init.

Tools 4

list_builtin_functions read-only
Lists available Zig builtin functions. Use it to discover functions, then query their details with get_builtin_function.
get_builtin_function read-only
Searches Zig builtin functions by name and returns matching documentation, signatures, and usage information.
search_std_lib read-only
Searches Zig standard library declarations by name and lists matching fully qualified names.
get_std_lib_item read-only
Gets documentation for a standard library item by fully qualified name, including signatures, parameters, errors, examples, and source code; can optionally retrieve the full source file containing the implementation.

Use cases

Find types, functions, and constants in the Zig standard library.
Look up signatures and usage information for Zig builtin functions.
Consult documentation matching the local Zig version, or choose a version fetched from ziglang.org.

Supported clients

Claude Desktop
Claude Code
Roo Code
Augment Code

Listed from the project's documentation, not tested by this site.

Overview

Zig Docs MCP provides Markdown documentation for Zig standard library declarations and builtin functions. By default, it uses the locally installed Zig compiler; it can also fetch documentation for a selected version from ziglang.org.

Similar servers

Source revision d804f936f9d6 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/zig-mcp.svg)](https://followmcp.com/en/servers/zig-mcp)