Skip to content
VS Code

Code Crawler for VS Code

io.github.nithin554/code-crawler

Static and dynamic call tracing MCP server backed by a SQLite property graph of your codebase

client:VS Code transport:stdio runtime:npm

Install Code Crawler in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "codecrawler-db",
      "description": "CODECRAWLER_DB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codecrawler-exclude-dirs",
      "description": "CODECRAWLER_EXCLUDE_DIRS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codecrawler-default-limit",
      "description": "CODECRAWLER_DEFAULT_LIMIT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codecrawler-max-depth",
      "description": "CODECRAWLER_MAX_DEPTH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "codecrawler-helpful-errors",
      "description": "CODECRAWLER_HELPFUL_ERRORS",
      "password": true
    }
  ],
  "servers": {
    "code-crawler": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nithin554/code-crawler"
      ],
      "env": {
        "CODECRAWLER_DB": "${input:codecrawler-db}",
        "CODECRAWLER_EXCLUDE_DIRS": "${input:codecrawler-exclude-dirs}",
        "CODECRAWLER_DEFAULT_LIMIT": "${input:codecrawler-default-limit}",
        "CODECRAWLER_MAX_DEPTH": "${input:codecrawler-max-depth}",
        "CODECRAWLER_HELPFUL_ERRORS": "${input:codecrawler-helpful-errors}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Code Crawler in other clients