LocalFree

Import Guardian MCP server

Baneado98/import-guardian

Catch AI-hallucinated (slopsquatted) npm imports in generated code before npm install.

0 GitHub stars158 npm downloads / month

Install Import Guardian in Claude Code

Claude Code
claude mcp add import-guardian -- npx -y import-guardian-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "import-guardian": {
      "command": "npx",
      "args": [
        "-y",
        "import-guardian-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Import Guardian MCP server do?

Catch AI-hallucinated (slopsquatted) npm imports in generated code before npm install.

Is the Import Guardian MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Import Guardian run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Import Guardian to Claude Code?

Run: claude mcp add import-guardian -- npx -y import-guardian-mcp

More developer tools MCP servers

View all