# WTHek MCP Server

> WTHek MCP Server is an open-source MCP server for developer tools. MCP server giving AI coding agents HTTP error status lookups, framework recipes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Repository:** https://github.com/skillnter/wthek-mcp
- **MCP Registry name:** io.github.Skillnter/wthek-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

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

### Cursor (~/.cursor/mcp.json)

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

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

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

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

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

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_status` (name suggests: reads): Returns RFC metadata, recommended headers and error class imports for an HTTP status code or name.
- `get_framework_recipe` (name 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.

## 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.

## Alternatives

- [Freshdeps MCP](https://ai-powered.com/mcp/freshdeps-mcp): Freshdeps MCP is a free MCP server for developer tools.
- [ToolTrace](https://ai-powered.com/mcp/tooltrace): ToolTrace is a freemium MCP server for web search and scraping.
- [Clean](https://ai-powered.com/mcp/clean-2): Clean is a free MCP server for developer tools.
- [MCP Server Commands](https://ai-powered.com/mcp/mcp-server-commands): MCP Server Commands is an open-source MCP server for developer tools.
- [mate.tools](https://ai-powered.com/mcp/mate-tools): mate.tools is an open-source MCP server for developer tools.
- [MCP Debugger](https://ai-powered.com/mcp/mcp-debugger): MCP Debugger is an open-source MCP server for developer tools.
- [Cyberchef MCP](https://ai-powered.com/mcp/cyberchef-mcp): Cyberchef MCP is an open-source MCP server for security.
- [ryudi84](https://ai-powered.com/mcp/ryudi84-2): ryudi84 is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/wthek-mcp-server
