Compare Html
@unitstack
About Compare Html
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"compare-html": {
"command": "npx",
"args": [
"@compare-html/cli@latest",
"--mcp"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Compare Html?
Compare Html is an MCP (Model Context Protocol) server that allows AI assistants to programmatically compare two HTML values and return their structural differences. It is part of the @compare-html/cli package and targets developers who need automated HTML comparison in AI-driven workflows.
How to use Compare Html?
Start the MCP server by running npx @compare-html/cli --mcp in your terminal. AI assistants can then call the compare_html tool, providing at least one base input (baseHTML string or baseHTMLFilePath) and one contrast input (contrastHTML string or contrastHTMLFilePath). The server returns an array of HTMLValueDifference objects describing each change.
Key features of Compare Html
- Compares two HTML strings or files and returns structural differences.
- Supports both inline HTML and file-based input.
- Outputs detailed difference objects with path and type.
- Provided via an easy-to-use MCP server command.
- Also available as an online playground at comparehtml.com.
Use cases of Compare Html
- AI-assisted code review: detect changes between HTML versions.
- Automated testing: validate rendered HTML output against expected structures.
- Content migration: compare HTML documents from different sources to identify structural modifications.
FAQ from Compare Html
How do I start the MCP server for Compare Html?
Run npx @compare-html/cli --mcp in your terminal. The server will be available for AI assistants to call the compare_html tool.
What inputs does the compare_html tool require?
You must provide at least one base input (baseHTML string or baseHTMLFilePath) and one contrast input (contrastHTML string or contrastHTMLFilePath). All parameters are optional but at least one pair is required.
What does the output of compare_html look like?
The tool returns an array of HTMLValueDifference objects, each containing fields like pathSegments, pathString, displayPath, pathBelongsTo, and diffType (e.g., "valueChanged").
Does Compare Html require any external dependencies?
The README does not specify additional dependencies beyond Node.js and the @compare-html/cli package itself. The server is started via npx, which fetches the package automatically.
Where is my HTML data processed?
The README does not detail data handling. The MCP server runs locally when started with npx, so data is processed on your machine. The online playground at comparehtml.com may have separate privacy terms.
Frequently asked questions
How do I start the MCP server for Compare Html?
Run `npx @compare-html/cli --mcp` in your terminal. The server will be available for AI assistants to call the `compare_html` tool.
What inputs does the `compare_html` tool require?
You must provide at least one base input (`baseHTML` string or `baseHTMLFilePath`) and one contrast input (`contrastHTML` string or `contrastHTMLFilePath`). All parameters are optional but at least one pair is required.
What does the output of `compare_html` look like?
The tool returns an array of `HTMLValueDifference` objects, each containing fields like `pathSegments`, `pathString`, `displayPath`, `pathBelongsTo`, and `diffType` (e.g., `"valueChanged"`).
Does Compare Html require any external dependencies?
The README does not specify additional dependencies beyond Node.js and the `@compare-html/cli` package itself. The server is started via `npx`, which fetches the package automatically.
Where is my HTML data processed?
The README does not detail data handling. The MCP server runs locally when started with `npx`, so data is processed on your machine. The online playground at comparehtml.com may have separate privacy terms.
Basic information
More Other MCP servers
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
Comments