# ETag Contract Tester

> ETag Contract Tester is a freemium MCP server for legal and government. MCP server and paid HTTP route that tests whether a URL honors ETag conditional GET. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://etag-contract-tester.fmf-x402.workers.dev/docs
- **MCP Registry name:** dev.workers.fmf-x402.etag-contract-tester/etag-contract-tester
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government), [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-27

## About

This service fetches a public URL, then repeats the request with If-None-Match set to the tag the server issued. It also repeats it with the weak W/ prefix stripped or added, so you can see whether the cache contract holds for each variant. The result tells you whether the validator is honored, broken, or absent.

Callers reach it either as an MCP tool over Streamable HTTP or as a plain POST endpoint at /v1/http-cache-check that accepts a URL and a list of etag modes. Each successful call costs $0.002 in USDC, paid via x402 or MPP on Tempo, with no account or API key. Invalid input or an upstream failure returns 402 and is not charged.

It suits developers of polling clients, CDN and proxy configurations, and API maintainers who need to confirm that 304 responses behave predictably before relying on them.

## Features

- **Conditional GET verification:** Repeats the request with If-None-Match using the issued ETag to check for a 304 response.
- **Weak prefix handling:** Tests the same validator with the W/ prefix stripped or added to reveal mismatched matching.
- **Clear verdict:** Reports whether the cache contract is honored, broken, or whether no ETag is issued.
- **Pay per call:** Each successful check costs $0.002 in USDC with no account, subscription or API key.
- **MCP and HTTP access:** Available as a Streamable HTTP MCP tool or as a plain JSON POST endpoint.

## Good for

- Verify that a polling endpoint returns 304 for unchanged content before shipping a client
- Check whether a CDN or reverse proxy preserves ETag validators correctly
- Diagnose clients that fail to refresh because weak and strong tags are mishandled
- Give an AI agent a cache-validation tool it can call from an MCP client

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http etag-contract-tester https://etag-contract-tester.fmf-x402.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "type": "http",
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://etag-contract-tester.fmf-x402.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "type": "http",
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://etag-contract-tester.fmf-x402.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add etag-contract-tester --url https://etag-contract-tester.fmf-x402.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.etag-contract-tester]
url = "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "httpUrl": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http etag-contract-tester https://etag-contract-tester.fmf-x402.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "serverUrl": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "type": "streamableHttp",
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "etag-contract-tester": {
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://etag-contract-tester.fmf-x402.workers.dev/mcp
```

Enter a Name (for example "ETag Contract Tester"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "etag-contract-tester": {
      "type": "http",
      "url": "https://etag-contract-tester.fmf-x402.workers.dev/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `etag-contract-tester`: Polling clients trust If-None-Match and then get a 200 for the same bytes, or a 304 only after the W/ prefix on the ETag is stripped, so they cannot rely on the documented cache contract. $0.002 per call, USDC via x402 or MPP. Fetches a public URL, repeats the GET with If-None-Match using the issued tag and with the weak prefix stripped or added, and reports whether the contract is honored, broken

## FAQ

### How much does a check cost?

Each successful call costs $0.002 in USDC, paid through x402 or MPP on Tempo.

### Do I need an account or API key?

No. Payment is per successful call and no account or API key is required.

### Am I charged if the request fails?

No. Invalid input or an upstream failure returns 402 and is not charged.

### How do I connect ETag Contract Tester to an MCP client?

Point the client at the Streamable HTTP endpoint at https://etag-contract-tester.fmf-x402.workers.dev/mcp. Listing tools is free, and paid calls need an MPP Payment header.

### How do I add ETag Contract Tester to Claude Code?

Run this command in your terminal: claude mcp add --transport http etag-contract-tester https://etag-contract-tester.fmf-x402.workers.dev/mcp

### What are the best alternatives to ETag Contract Tester?

The closest alternatives to ETag Contract Tester are well-009-url-change-watch, Soft-404 Link Classifier, Public URL Vantage Report, MCP x402 - Evidence-Backed Web Verification and Soft-404 Link Classifier.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [well-009-url-change-watch](https://ai-powered.com/mcp/well-009-url-change-watch): well-009-url-change-watch is a paid MCP server for web search and scraping.
- [Soft-404 Link Classifier](https://ai-powered.com/mcp/soft-404-link-classifier-2): Soft-404 Link Classifier is a paid MCP server for web search and scraping.
- [Public URL Vantage Report](https://ai-powered.com/mcp/public-url-vantage-report-2): Public URL Vantage Report is a paid MCP server for web search and scraping.
- [MCP x402 - Evidence-Backed Web Verification](https://ai-powered.com/mcp/mcp-x402-evidence-backed-web-verification): MCP x402 - Evidence-Backed Web Verification is a paid MCP server for web search and scraping.
- [Soft-404 Link Classifier](https://ai-powered.com/mcp/soft-404-link-classifier): Soft-404 Link Classifier is a paid MCP server for web search and scraping.
- [Public URL Vantage Report](https://ai-powered.com/mcp/public-url-vantage-report): Public URL Vantage Report is a paid MCP server for web search and scraping.
- [Tolsey](https://ai-powered.com/mcp/tolsey): Tolsey is a freemium MCP server for web search and scraping.
- [Surface Contract: platform API behavior and x402 pre-payment checks](https://ai-powered.com/mcp/surface-contract-platform-api-behavior-and-x402-pre-payment): Surface Contract: platform API behavior and x402 pre-payment checks is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/etag-contract-tester
