Metadata-Version: 2.4
Name: mcp-web-auditor
Version: 0.2.1
Summary: A lightweight MCP server for auditing webpage SEO, security headers, broken links, accessibility, and /llms.txt AI readiness.
Author: stickno
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcp[cli]<2.0.0,>=1.0.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: beautifulsoup4>=4.12.0
Dynamic: license-file

# Web Auditor MCP Server

[![PyPI version](https://shields.io)](https://pypi.org)
[![PyPI Downloads](https://shields.io)](https://pypi.org)
[![License: MIT](https://shields.io)](https://opensource.org)

[![mcp-web-auditor MCP server - quality and maintenance score on Glama](https://glama.ai/mcp/servers/stickno/mcp-web-auditor/badges/card.svg)](https://glama.ai/mcp/servers/stickno/mcp-web-auditor)

A lightweight Model Context Protocol (MCP) server that enables Claude, Cursor, and other AI assistants to audit any webpage for response speed, core SEO tags, OpenGraph metadata, image accessibility, and broken links.

## Features
- **Webpage Audit (`audit_webpage`):** Checks HTTP status, response time (ms), page title, meta description, H1 headings, OpenGraph tags (`og:title`, `og:image`), and missing image `alt` attributes.
- **Broken Link Scanner (`check_broken_links`):** Crawls internal and external links on a webpage to detect `404`/`500` or unreachable URLs.

## Quick Start (Claude Desktop & Cursor)

Add this to your `claude_desktop_config.json` (recommended via `uvx`):

```json
{
  "mcpServers": {
    "web-auditor": {
      "command": "uvx",
      "args": ["mcp-web-auditor"]
    }
  }
}
```

### Alternative: Install via pip

```bash
pip install mcp-web-auditor
```

### Manual Installation from Source

```bash
git clone https://github.com/stickno/mcp-web-auditor.git
cd mcp-web-auditor
pip install -r requirements.txt
```

```json
{
  "mcpServers": {
    "web-auditor": {
      "command": "python",
      "args": ["/path/to/mcp-web-auditor/server.py"]
    }
  }
}
```

## License
MIT
