polite-crawler
v0.8.1A polite crawler for agents: obeys robots.txt, fetches each page once, finds and verifies quotes.
Values you need
| Variable | What it is | |
|---|---|---|
POLITE_CRAWLER_DIR | optional | The folder of the store. The default is ~/.polite-crawler. |
POLITE_CRAWLER_CONTACT | optional | An email address or URL for the From header of each request. |
POLITE_CRAWLER_ALLOW_PRIVATE | optional | Set it to 1 to let the crawler fetch loopback, private and link-local addresses. The default refuses them. |
POLITE_CRAWLER_ALLOW_USER_PROVIDED | optional | Set it to 1 to let user_provided read a page that refuses AI input when the client cannot ask the user to confirm. |
POLITE_CRAWLER_SIGN_KEY | optional | The file of an Ed25519 private key (PKCS#8 PEM or JWK). The crawler signs each request with it (Web Bot Auth). It needs POLITE_CRAWLER_SIGNATURE_AGENT. |
POLITE_CRAWLER_SIGNATURE_AGENT | optional | Where a site finds the public key of POLITE_CRAWLER_SIGN_KEY: the https origin of the key directory, or the URL of a JSON Web Key Set. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add polite-crawler -- npx -y polite-crawler-mcp@0.8.1Add to
claude_desktop_config.json{
"mcpServers": {
"polite-crawler": {
"args": [
"-y",
"polite-crawler-mcp@0.8.1"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"polite-crawler": {
"args": [
"-y",
"polite-crawler-mcp@0.8.1"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"polite-crawler": {
"args": [
"-y",
"polite-crawler-mcp@0.8.1"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.polite-crawler]
command = "npx"
args = ["-y", "polite-crawler-mcp@0.8.1"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: crawl_fetch, crawl_find, crawl_read, crawl_verify, crawl_extract, crawl_discover, crawl_site, crawl_diff, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json