Feedback

Zig MCP Server — by nzrsky

@nzrsky Claim

Basic information

Runtime
zig
Category
License
Not specified
Author
nzrsky
Submitted by
Community
Stars
7

About Zig MCP Server

Zig ZLS MCP for Claude Code 🤖

Zig is a MCP server in the Other category listed in the AddMCP.net directory, published by nzrsky. It exposes 14 tools, including zig_definition, zig_references, zig_hover, zig_diagnostics and more. Runtime: zig. The repository has 7 GitHub stars. Source code is hosted on github.com. Related topics: agent, ai, claude, llm, mcp.

Zig MCP Server — by nzrsky config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Zig MCP Server — by nzrsky tools

  • zig_definition — The one true declaration, followed through imports and aliases. Takes `symbol` or `file`+`line`+`character`
  • zig_references — Real usages, scope-aware; skips same-named identifiers, comments and strings. `symbol` mode also searches through re-exports
  • zig_hover — The type after comptime evaluation and inference — invisible in the source text
  • zig_diagnostics — Errors for one file without building the project, re-synced against disk first
  • zig_workspace_symbols — Declarations by name, not every line mentioning it
  • zig_document_symbols — A file's outline: declarations, kinds, nesting
  • zig_completion — What can legally follow at a position, with types
  • zig_signature_help — The real signature, comptime and generic parameters included
  • zig_rename — Which files a rename touches, scope-aware
  • zig_code_action — Quick fixes ZLS offers for a range
  • zig_inlay_hints — Every inferred type in a file at once — nothing of this is in the source text
  • zig_type_definition — The declaration of a value's *type*, not of the value
  • zig_ast_query — Code by shape: empty `catch {}`, `catch unreachable`, `undefined` initializers, `unreachable`, `@panic`. Matched over the syntax tree, so comments and string literals never match and multi-line forms always do
  • zig_unused_private — Private declarations nothing refers to — exact, because a non-`pub` name cannot escape its file

Overview

What is Zig?

Zig ZLS MCP for Claude Code 🤖

How to use Zig?

Follow the repository README to install the server and add its MCP configuration to your client.

Key features of Zig

  • Zig 0.17.0-dev.1415+64dfaa568 or newer
  • ZLS (auto-detected from PATH, or specify with --zls-path)
  • main -- reads MCP requests, dispatches tool calls, writes responses
  • reader -- reads LSP responses from ZLS, correlates by request ID
  • stderr -- forwards ZLS stderr to the server log

Use cases of Zig

  • Connect an MCP-compatible client to this repository's service.
  • Review the README-backed setup before enabling it in production.

Frequently asked questions

1 Where is the source code for Zig?

The source code is linked from the repository URL on this page.

2 Does Zig include a standard MCP config?

If the README contains a parseable MCP configuration block, it is shown in the Config tab.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬