Model Context Protocol (MCP) server that provides up-to-date documentation for the Zig programming language standard library and builtin functions
{
"mcpServers": {
"zig-docs": {
"args": [
"-y",
"zig-mcp@latest"
],
"command": "npx"
}
}
}Model Context Protocol (MCP) server that provides up-to-date documentation for the Zig programming language standard library and builtin functions
Is it safe?
No known CVEs for zig-mcp.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 12 days ago. 142 stars. 45 weekly downloads.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
Context cost
4 tools. ~600 tokens (0.3% of 200K).
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y zig-mcp 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
list_builtin_functionsLists all available Zig builtin functions. Builtin functions are provided by the compiler and are prefixed with '@'. The comptime keyword on a parameter means that the parameter must be known at compile time. Use this to discover what functions are available, then use 'get_builtin_function' to get detailed documentation.
get_builtin_functionSearch for Zig builtin functions by name and get their documentation, signatures, and usage information. Returns all matching functions ranked by relevance.
search_std_libSearch the Zig standard library for declarations by name. Returns a list of matching items with their fully qualified names. Use this to discover available types, functions, and constants in the standard library.
get_std_lib_itemGet detailed documentation for a specific standard library item by its fully qualified name (e.g., "std.ArrayList.init"). Returns comprehensive documentation including function signatures, parameters, errors, examples, and source code. Set `get_source_file: true` to retrieve the entire source file where the item is implemented.
This server is missing a description.If you've used it, help the community.
Add informationNo known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.