HatchLock MCP Server
Stops AI code from hiding type errors: flags @ts-ignore/as any and runs your local compilers.
HatchLock scores 55 (Fair), with no SPDX license recorded. It installs as a local process. It declares 3 tools. Filed under Uncategorized. Package registries report about 395 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
55 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
79/100 for listing completeness. Lost points: short README, 1 of 3 tools barely described, short summary.
How quality is graded
Where the 55 comes from
22 + 20 + 0 + 0 + 10 + 3 = 55. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "tahmidbintaslim-mcp": { "command": "npx", "args": [ "-y", "hatchlock-mcp@1.3.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade D
All capabilitiesBefore writing or editing a file
verify_filetoolAfter editing a file
verify_projecttoolBefore saying the task is done
About
hatchlock-mcp
HatchLock's type-safety checks as a local MCP server. Use it in any editor or agent that supports MCP (Cursor, VS Code, Claude Desktop, Cline, Zed, Kiro, Windsurf/Devin, JetBrains and others) to stop AI-written code from hiding type errors.
It runs on your machine with the compilers you already have. No network calls, no account, nothing is sent anywhere.
Tools
| Tool | When the agent should call it | What it does |
|---|---|---|
check_suppressions | Before writing or editing a file | Reports new @ts-ignore, @ts-expect-error, @ts-nocheck, as any, : any, # type: ignore, # pyright: ignore, @phpstan-ignore, #[allow(dead_code)], //nolint |
verify_file | After editing a file | Fast check of that file with local tools (pyright, shellcheck, gofmt, php -l, ...) |
verify_project | Before saying the task is done | Project compilers (tsc, cargo check, go vet, ...) for languages with uncommitted changes |
doctor | Any time | Which compilers and language servers are available |
All tools are read-only. The server also serves HatchLock's skills (tight-diff, optimize, architect, clean, doctor) as skill:// resources.
An MCP server can't force the agent to call it. For blocking that the agent can't skip, use the HatchLock plugin in Claude Code, GitHub Copilot, Cursor, Grok Build or Google Antigravity.
Install
Requires Node.js 20+, bash and jq.
Cursor (.cursor/mcp.json), Claude Desktop (claude_desktop_config.json), Cline, Windsurf:
{
"mcpServers": {
"hatchlock": { "command": "npx", "args": ["-y", "hatchlock-mcp@1.3.0"] }
}
}
VS Code (.vscode/mcp.json):
{
"servers": {
"hatchlock": { "type": "stdio", "command": "npx", "args": ["-y", "hatchlock-mcp@1.3.0"] }
}
}
Zed (settings.json):
{
"context_servers": {
"hatchlock": { "command": "npx", "args": ["-y", "hatchlock-mcp@1.3.0"] }
}
}
Tip: add a line to your agent rules such as "Before writing code, call check_suppressions; before finishing, call verify_project."
Up-to-date docs
HatchLock checks types; it doesn't fetch documentation. To have the agent read current library docs for each language, also add a docs server such as Context7 (https://mcp.context7.com/mcp, free API key).
MIT licensed. Source: https://github.com/tahmidbintaslim/HatchLock
Frequently asked questions
What is HatchLock MCP Server?
Stops AI code from hiding type errors: flags @ts-ignore/as any and runs your local compilers.
How do I install HatchLock MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. HatchLock MCP Server runs locally from the npm package hatchlock-mcp with the command npx -y hatchlock-mcp@1.3.0.
Does HatchLock MCP Server support remote (HTTP) connections?
No remote endpoint is listed for HatchLock MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does HatchLock MCP Server provide?
HatchLock MCP Server provides 3 tools: check_suppressions, verify_file, and verify_project. See the full tool list for descriptions and parameters.
How is HatchLock MCP Server's trust score calculated?
HatchLock MCP Server scores 55 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.