website-content-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@website-content-mcpFetch the content of https://example.com as markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
website-content-mcp
An MCP server that exposes a website's content in agent-readable structured form. Instead of scraping raw HTML, agents (Claude, Codex, or any MCP client) pull clean markdown and structured metadata through a small set of tools.
The server fetches pages from a configurable target site, strips them to clean
markdown, caches results to disk, respects robots.txt, and rate-limits requests
to be a polite citizen of the web.
Features
Clean extraction — HTML → markdown via Mozilla Readability + Turndown (real DOM parsing, never regex).
Discovery — page listing from
sitemap.xml, sitemaps advertised inrobots.txt, or a configured page list.Disk cache — fetched pages cached with a configurable TTL; reads prefer cache, then network, then stale-on-error.
Polite by default — respects
robots.txtdisallow rules and rate-limits to ~1 request/second.Two transports — Streamable HTTP and stdio.
Related MCP server: Crawl4AI MCP Server
Tools
Tool | Purpose |
| List discoverable pages (sitemap → robots.txt sitemaps → configured list). Returns URL, title, last-modified when known. |
| Fetch a page URL, strip to clean markdown, return content + metadata (title, canonical URL, fetched_at, content length). |
| Keyword search over already-fetched/cached pages. Returns URL, score, snippet. |
| Return the raw sitemap structure (URLs + last-modified/priority/change-frequency when present). |
| Server status: configured site, cache directory, cache size, last fetch time. |
Requirements
Node.js 22+
Install
git clone https://github.com/SarutobiSasuke8/website-content-mcp.git
cd website-content-mcp
npm install
npm run buildConfiguration
Configuration is via environment variables (see .env.example):
Variable | Required | Default | Description |
| ✅ | — | The site whose content is exposed. |
|
| Sitemap location. | |
| — | Comma-separated fallback page list (absolute or base-relative). | |
|
| Disk cache directory. | |
|
| Cache TTL (0 disables caching). | |
|
| Per-request timeout. | |
|
| Minimum spacing between fetches (~1 req/sec). | |
|
| Outbound User-Agent. | |
|
| HTTP bind host. | |
|
| HTTP bind port. |
Run
Streamable HTTP (default transport):
SITE_BASE_URL=https://example.com npm start
# → website-content-mcp listening on http://127.0.0.1:3215/mcp (site: https://example.com/)The MCP endpoint is POST /mcp; a plain health probe is available at GET /healthz.
stdio (for local MCP clients):
SITE_BASE_URL=https://example.com npm run start:stdioExample MCP client entry (stdio):
{
"mcpServers": {
"website-content": {
"command": "node",
"args": ["/path/to/website-content-mcp/dist/src/stdio.js"],
"env": { "SITE_BASE_URL": "https://example.com" }
}
}
}Development
npm run dev # HTTP transport with --watch
npm run dev:stdio # stdio transport
npm run check # typecheck + lint + build + testTesting
Unit tests cover HTML→markdown conversion, the disk cache/TTL logic, robots parsing, and sitemap parsing (all offline, using a local fixture).
A live integration test runs against
https://example.com, exercisinghealth,list_pages,get_page, andsearch.
npm testSecurity & etiquette
Binds to
127.0.0.1by default.No authentication and no API keys — intended for public content only.
Respects
robots.txt; disallowed paths are refused.Rate-limited to ~1 request/second against the target site.
Never logs full page bodies (only URLs, status codes, and sizes).
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-quality-maintenanceAn MCP server for web content extraction that converts HTML pages into clean, LLM-optimized Markdown using Mozilla's Readability. It supports batch processing, intelligent multi-page crawling, and configurable caching while respecting robots.txt standards.Last updated132
- Flicense-qualityDmaintenanceA locally-hosted MCP server that provides AI assistants with advanced web crawling capabilities, including structured data extraction, deep site crawling, and page screenshots. It enables users to convert single or multiple URLs into clean Markdown content for processing by LLMs without requiring external API keys for basic features.Last updated
- Flicense-qualityDmaintenanceMCP server for Cloudflare Browser Rendering Crawl API. Fetches and crawls web pages, returning clean Markdown optimized for LLM consumption.Last updated
- Alicense-qualityBmaintenanceMCP server that fetches web pages, extracts clean markdown (reducing token count), caches results, and provides searchable reading history.Last updatedMIT
Related MCP Connectors
SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SarutobiSasuke8/website-content-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server