Skip to content
VS Code

polite-crawler for VS Code

io.github.mark1russell7/polite-crawler

A polite crawler for agents: obeys robots.txt, fetches each page once, finds and verifies quotes.

client:VS Code transport:stdio runtime:npm

Install polite-crawler in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "polite-crawler-dir",
      "description": "POLITE_CRAWLER_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "polite-crawler-contact",
      "description": "POLITE_CRAWLER_CONTACT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "polite-crawler-allow-private",
      "description": "POLITE_CRAWLER_ALLOW_PRIVATE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "polite-crawler-allow-user-provided",
      "description": "POLITE_CRAWLER_ALLOW_USER_PROVIDED",
      "password": true
    }
  ],
  "servers": {
    "polite-crawler": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "polite-crawler"
      ],
      "env": {
        "POLITE_CRAWLER_DIR": "${input:polite-crawler-dir}",
        "POLITE_CRAWLER_CONTACT": "${input:polite-crawler-contact}",
        "POLITE_CRAWLER_ALLOW_PRIVATE": "${input:polite-crawler-allow-private}",
        "POLITE_CRAWLER_ALLOW_USER_PROVIDED": "${input:polite-crawler-allow-user-provided}"
      }
    }
  }
}

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

polite-crawler in other clients