Skip to content
MCP server

WTHek MCP Server

MCP server giving AI coding agents HTTP error status lookups, framework recipes

Runs locally

WTHek MCP Server is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API
Runs
Locally
Version
1.0.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add wthek-mcp -- npx -y @wthek/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "wthek-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wthek/mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "wthek-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wthek/mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "wthek-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wthek/mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "wthek-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wthek/mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add wthek-mcp -- npx -y @wthek/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.wthek-mcp]
command = "npx"
args = ["-y", "@wthek/mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "wthek-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@wthek/mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user wthek-mcp npx -- -y @wthek/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "wthek-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@wthek/mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About WTHek MCP Server

Runs locally beside an AI code editor over stdio and gives the agent three deterministic tools for HTTP error handling. Instead of guessing RFC status codes, headers or class names, the agent can query them directly and receive structured answers.

The server covers Express, Fastify, Hono, Koa, NestJS and Restify, and can pair each with Zod, TypeBox or Valibot validation. A recipe tool returns install commands, middleware wiring and short usage steps that can be pasted into an application entrypoint.

It is aimed at developers who let coding assistants write backend routes and want fewer hand-rolled status responses. The audit tool uses pattern matching rather than full static analysis, so it flags common pitfalls for review rather than replacing it. The functions can also be imported directly into Node.js pipelines without running an MCP server.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 3 tools read data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

lookup_http_statusName suggests: reads
Returns RFC metadata, recommended headers and error class imports for an HTTP status code or name.
get_framework_recipeName suggests: reads
Returns an error-handling recipe for a given web framework and optional validator.
audit_error_handling
Audits code snippets for common error-handling anti-patterns.

What it does

HTTP status lookup
Resolves a status code or name to its RFC metadata, standard response headers and matching error class import.
Framework error recipes
Returns copy-paste error middleware setups for six Node.js frameworks with optional schema validation companions.
Error-handling audit
Scans a code snippet for manual status mutations, missing headersSent guards and generic thrown errors.
Local stdio transport
Runs on the developer's machine through npx without opening network ports.
Importable helper functions
Lookup, recipe and audit functions can be called directly from custom Node.js code.

Good for

  • Have an AI coding assistant set up centralized error middleware in an Express or Fastify app
  • Look up the correct RFC status code and required headers such as Retry-After or WWW-Authenticate
  • Review route handlers for manual res.status().json() calls before merging
  • Wire Zod or Valibot validation errors into a consistent HTTP error response format

Pricing

Open source

Free and MIT licensed; donations accepted.

WTHek MCP Server FAQ

How do I install WTHek MCP Server?

No separate installation is needed. Configure your MCP client to launch @wthek/mcp with npx; the README gives examples for Claude Desktop, Cursor and Google Antigravity.

Which frameworks are supported?

Express, Fastify, Hono, Koa, NestJS and Restify are covered by the framework recipe tool.

Which validation libraries work with WTHek MCP Server?

Recipes support Zod, TypeBox and Valibot as optional validator companions.

Does the audit tool execute my code?

No. The audit uses regular expression matching on the snippet and does not evaluate, run or load it.

Is WTHek MCP Server free?

Yes. WTHek MCP Server is open source, so you can use and self-host it for free.

How do I add WTHek MCP Server to Claude Code?

Run this command in your terminal: claude mcp add wthek-mcp -- npx -y @wthek/mcp

What are the best alternatives to WTHek MCP Server?

The closest alternatives to WTHek MCP Server are Freshdeps MCP, ToolTrace, Clean, MCP Server Commands and mate.tools.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers