Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

polite-crawler

MCP server by mark1russell7 Community

polite-crawler is an MCP server and library that fetches web pages once, obeys robots.txt, and answers later questions from a local full-text index. It is for research and for AI agents.

  • Score 83
  • 0 stars
  • 1.7k a week
  • MIT
  • Updated

Install polite-crawler

Built from the published package, never by AI.

claude mcp add polite-crawler -- npx -y polite-crawler-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install polite-crawler in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the polite-crawler block.

About

polite-crawler is a polite web crawler for research and for AI agents. It fetches a source one time, keeps it, and reads it many times. It obeys robots.txt and sends one request at a time to each site. Later questions are answered from a local full-text index. The package is on npm as polite-crawler, and an MCP server named polite-crawler-mcp is available. The repository also holds a documentation site.

The MCP server gives page text inside an untrusted web content envelope, so an assistant can tell data from instructions. A page that refuses AI input stays held back until a person confirms. After a challenge, a 401, a 402 or a 403 response, the crawler stops that host for 1 to 24 hours and does not try a different identity. It is meant for researchers and AI agents that need web sources.

Written from the project's README and checked against it.

Tools it gives your assistant

  • fetchFetches a page one time and keeps it for later reading (CLI command fetch).
  • findRuns a full-text search over pages already stored locally (CLI command find).
  • robots.txt complianceObeys robots.txt rules and sends one request at a time to each site.
  • Untrusted content envelopeWraps page text in an untrusted web content envelope for the assistant.
  • Human confirmationHolds back pages that refuse AI input until a person confirms.

What you need

  • Node.js 22.19 or later (stated for the repository)
  • pnpm 10 or later (stated for the repository)
SettingNeededWhat it is
POLITE_CRAWLER_DIREnvironment variableOptionalThe folder of the store. The default is ~/.polite-crawler.
POLITE_CRAWLER_CONTACTEnvironment variableOptionalAn email address or URL for the From header of each request.
POLITE_CRAWLER_ALLOW_PRIVATEEnvironment variableOptionalSet it to 1 to let the crawler fetch loopback, private and link-local addresses. The default refuses them.
POLITE_CRAWLER_ALLOW_USER_PROVIDEDEnvironment variableOptionalSet 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_KEYEnvironment variableOptionalThe 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_AGENTEnvironment variableOptionalWhere 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.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Fetch the Wikipedia article on web crawlers and keep a copy.
  • Search my stored pages for mentions of robots exclusion.
  • Fetch this page politely and summarize what it says about robots.txt.

Good to know

  • By default it fetches only public addresses. --allow-private permits loopback and private addresses.
  • It stops a host for 1 to 24 hours after a challenge, a 401, a 402 or a 403.
  • Pages that refuse AI input stay held back until a person confirms.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to polite-crawler

All alternatives →
Agent Skills Search Server agentskills
100

Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.

BAA Remote 28k
Exa exa-labs
100

Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.

AAA Remote 5.3k
Apify apify
100

Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.

AAA Remote 19k
changedetection.io (official) dgtlmoon
100

Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.

AAA Remote 36k
brave brave
95

Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.

AAA Remote 1.6k
Scrapling MCP ServerD4Vinci
94

Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.

AAA Local 107k

Compare with Agent Skills Search Server, Exa or Apify

polite-crawler: common questions

Does polite-crawler respect robots.txt?

Yes. It obeys robots.txt, sends one request at a time to each site, and stops a host after a challenge or a 401, 402 or 403 response.

Can polite-crawler fetch private or local addresses?

By default, it fetches only public addresses. The --allow-private option permits loopback and private addresses.

How does the MCP server handle page content?

It wraps page text in an untrusted web content envelope so an assistant can tell data from instructions. Pages that refuse AI input are held back until a person confirms.

How do I install polite-crawler?

In Claude Code run claude mcp add polite-crawler -- npx -y polite-crawler-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is polite-crawler the official server?

polite-crawler is a community project by mark1russell7, not verified by a company domain.

Is polite-crawler free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is polite-crawler safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to polite-crawler?

Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).

Does polite-crawler work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

polite-crawler Install

Add to stack

Loading.