An MCP server for searching static sites that are indexed with pagefind
Overview
what is pagefind-mcp?
pagefind-mcp is an MCP server designed for searching static sites that have been indexed using Pagefind.
how to use pagefind-mcp?
To use pagefind-mcp, run the command npx pagefind-mcp --host <base-url> [--no-resources]. The --host option specifies the base site to index, and the --no-resources flag can be used to skip pushing full page resources.
key features of pagefind-mcp?
- Efficiently indexes static sites for search functionality.
- Allows customization of indexing through command-line options.
- Supports both HTTP and HTTPS protocols for site indexing.
use cases of pagefind-mcp?
- Enabling search functionality on static websites.
- Indexing content for faster retrieval on personal or business static sites.
- Customizing search indexing based on specific site requirements.
FAQ from pagefind-mcp?
- Can pagefind-mcp index any static site?
Yes! As long as the site is accessible via a URL, pagefind-mcp can index it.
- Is there a limit to the number of sites I can index?
No, you can index as many sites as you need, provided you have the necessary resources.
- What programming language is pagefind-mcp written in?
pagefind-mcp is written in JavaScript and is designed to be run in a Node.js environment.