Overview
What is Sitemcp?
Sitemcp fetches an entire website and makes it available as a Model Context Protocol (MCP) server. It is a fork of sitefetch and uses mozilla/readability to extract readable content from pages.
How to use Sitemcp?
Install globally with npm i -g sitemcp or run one-off with npx sitemcp. Then invoke sitemcp <url> and optionally add flags like --concurrency, --match, or --content-selector. Configure your MCP client—for example, Claude Desktop—by adding a server entry that runs the command with the target URL and any desired flags.
Key features of Sitemcp
- Fetches entire website as an MCP server
- Supports concurrent page fetching
- Match specific pages with glob patterns
- Extract content using CSS selectors
- Uses readability for readable content extraction
- Caches fetched pages locally for performance
Use cases of Sitemcp
- Provide a documentation site as context to an AI assistant
- Enable MCP clients to query content from any public website
- Create a custom knowledge base from a subset of site pages
FAQ from Sitemcp
How do I install Sitemcp?
Run it one-off with bunx sitemcp, npx sitemcp, or pnpx sitemcp, or install globally with bun i -g sitemcp, npm i -g sitemcp, or pnpm i -g sitemcp.