About Sitefetch
Sitefetch is an MCP server published by kentaro84207 in the Browser category: mCP server: Sitefetch.
The repository has 2 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/kentaro84207/mcp-sitefetchThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (2)
forceRefreshWhether to force update the cache (optional, defaults to false)
Parameters not published.
urlThe URL of the website to fetch (required)
Parameters not published.
Ask AI
Ask AI about Sitefetch
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
SiteFetch MCP Server
A Model Context Protocol (MCP) server that fetches entire websites and provides their content to Large Language Models like Claude.
Features
- Easy Website Capture: Simply specify a URL to capture an entire website and add it to Claude's context
- Caching System: Downloaded sites are stored in
~/.cache/sitefetchfor efficient reuse - MCP Resource Integration: Captured content is provided as MCP resources for LLM context
- Tool Operations: Supports site fetching, cache management, and listing of available sites
Installation
# Install dependencies
npm install
# Compile TypeScript
npm run build
Configuration
To use with Claude Desktop, add this server to your configuration file:
-
Open your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the following configuration:
{
"mcpServers": {
"sitefetch": {
"command": "node",
"args": ["/absolute/path/to/sitefetch-mcp/build/index.js"]
}
}
}
- Restart Claude Desktop.
Usage
Fetching a Website
In Claude Desktop, make a request like:
"Please fetch https://example.com and analyze its content"
Claude will use the fetch-site tool to retrieve the website content:
Executing fetch-site tool with parameters:
{
"url": "https://example.com",
"forceRefresh": false
}
Available Tools
fetch-site
Retrieves website content and stores it as a resource.
Parameters:
url: The URL of the website to fetch (required)forceRefresh: Whether to force update the cache (optional, defaults to false)
list-sites
Displays a list of all fetched websites.
clear-cache
Removes all cached website data.
Resource Access
Fetched website content is accessible via the following URI:
sitefetch://{encodedUrl}
Where {encodedUrl} is the URL-encoded address of the website.
How It Works
- When the
fetch-sitetool is called, it uses thesitefetchlibrary to capture the specified website - The content is stored in the
~/.cache/sitefetchdirectory - The content is provided as an MCP resource with the URI
sitefetch://{encodedUrl} - Claude can reference this resource and include it in its context as needed
File Structure
~/.cache/sitefetch/*.txt: Cached website content~/.cache/sitefetch/sitefetch_metadata.json: Metadata for cached websites
Troubleshooting
Website Fetching Fails
- Check your internet connection
- Verify the URL is correct
- Use the
list-sitestool to check already fetched sites - Try clearing the cache with the
clear-cachetool and retry
Cache Issues
- Ensure the
~/.cache/sitefetchdirectory exists and you have write permissions - Verify you have sufficient disk space
Dependencies
- @modelcontextprotocol/sdk: Implementation of the MCP protocol
- sitefetch: Tool for fetching entire websites
- zod: Type validation library
Note for developers: This project uses the Model Context Protocol to provide additional context to LLMs like Claude. For more information, refer to the MCP documentation.
README fetched from the repository yesterday. The original is authoritative.