Back to Directory/Developer Tools

io.github.elyngved/failmodes

MCP server for the Fail Modes taxonomy — a knowledge base of AI system failure modes

Developer ToolsJavaScriptv0.1.0

failmodes-mcp

MCP server for the Fail Modes taxonomy — a machine-readable knowledge base of AI system failure modes.

Provides four tools over 100+ canonical failure mode records spanning factuality, alignment, planning, code generation, instruction following, and more.

Tools

ToolDescription
search_failure_modesSearch by symptom text or keyword phrase. Returns ranked matches.
get_failure_modeRetrieve the full structured record for a failure mode by ID slug.
list_categoriesList all taxonomy categories with descriptions and mode counts.
list_modesList all modes, optionally filtered by category ID.

Quick Start

No installation required — run directly with npx:

npx failmodes-mcp

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "failmodes": {
      "command": "npx",
      "args": ["-y", "failmodes-mcp"]
    }
  }
}

Cursor / VS Code

Add to your MCP settings file:

{
  "mcpServers": {
    "failmodes": {
      "command": "npx",
      "args": ["-y", "failmodes-mcp"]
    }
  }
}

Remote (no install required)

A hosted Streamable HTTP version is also available — no npm package needed:

{
  "mcpServers": {
    "failmodes": {
      "url": "https://www.failmodes.com/api/mcp"
    }
  }
}

How It Works

On first tool call, the server fetches current taxonomy data from failmodes.com and caches it in memory for the duration of the session. Requires internet access.

The stdio transport makes this compatible with any MCP client that supports running local processes (Claude Desktop, Cursor, VS Code, etc.).

Links

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y failmodes-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-elyngved-failmodes": {
      "command": "npx",
      "args": [
        "-y",
        "failmodes-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

failmodes-mcpnpm

Compatible MCP Clients

io.github.elyngved/failmodes works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More