MCP Hub
Back to servers

eslint-typescript-mcp

MCP server that brings ESLint and TypeScript type-checking diagnostics to Claude Code — enables LLMs to lint, fix, and type-check code automatically

npm342/wk
Updated
Apr 8, 2026

Quick Install

npx -y eslint-typescript-mcp

⚡ ESLint & TypeScript MCP Server

🚀 Turn your AI assistant into a real code reviewer ⚡ One command → fix your entire codebase

Let Claude lint, fix, and type-check your entire project automatically — using real ESLint + TypeScript, not guesses.

🔥 Stop manually fixing lint errors 🔥 Stop running tsc yourself 🔥 Let Claude do it for you


✨ Features

  • 🧹 lint — Run ESLint across your entire project
  • 🔧 lint_fix — Automatically fix code issues
  • 🧠 typecheck — Full TypeScript validation
  • fix_all — One command to fix + typecheck everything
  • 🤖 Built for Claude Code & MCP ecosystem

🧠 Why this project?

AI coding tools can generate code — but they cannot reliably:

  • Run ESLint
  • Fix lint errors
  • Type-check real-world projects
  • Handle production-level workflows

This MCP server gives Claude those capabilities.

👉 Turn AI into a real engineering assistant, not just a code generator.


🤖 Example (with Claude Code)

You:

Fix all lint and TypeScript errors

Claude:

✔ Running ESLint... ✔ Auto-fixing issues... ✔ Running TypeScript... ✔ 0 errors remaining

🎉 Your codebase is now clean.


🚀 Quick Start (3 steps)

1. Install

npm install -g eslint-typescript-mcp

2. Configure Claude Code

{
  "mcpServers": {
    "eslint-typescript": {
      "command": "node",
      "args": ["/usr/local/lib/node_modules/eslint-typescript-mcp/dist/index.js"]
    }
  }
}

3. Ask Claude

Fix all lint and TypeScript issues

Done ✅


🔧 MCP Tools

lint

Run ESLint diagnostics

lint_fix

Automatically fix lint issues

typecheck

Run TypeScript validation

fix_all

Run lint_fix + typecheck sequentially


⚡ Compared to traditional workflow

TaskBeforeWith this MCP
LintManual CLIClaude runs it
Fix errorsManual editsAuto fix
Type checkRun tscClaude handles
WorkflowFragmentedFully automated

⚙️ Configuration

Add to your Claude Code MCP config:

{
  "mcpServers": {
    "eslint-typescript": {
      "command": "node",
      "args": [".../dist/index.js"]
    }
  }
}

🔐 Security Notes

This server executes shell commands.

⚠️ Do NOT pass untrusted user input into commands.

Recommended usage:

  • Local development
  • Trusted environments only

🧪 Development

npm install
npm run dev
npm run build
npm run lint

🤝 Contributing

Contributions welcome! See CONTRIBUTING.md


⭐ If this helps you

Give it a star ⭐ — it helps more developers discover AI-powered tooling.


📄 License

MIT © w334-jpg

Reviews

No reviews yet

Sign in to write a review