Visual frontend accessibility inspector MCP server. WCAG contrast checking, touch target validation, heading hierarchy audits, responsive screenshots.
Project description
lo-eyes
Visual frontend accessibility inspector MCP server. WCAG contrast checking, touch target validation, heading hierarchy audits, responsive screenshots, and S+ grading across mobile and desktop viewports.
Built by Like One Foundation (501(c)(3) nonprofit). Works with any site by changing BASE_URL.
Tools
| Tool | Description |
|---|---|
eyes_screenshot |
Viewport-sized screenshot at any device preset |
eyes_scan |
Auto-chunk full page into readable viewport pieces with RAG manifest |
eyes_audit |
Responsive + accessibility audit with S+ grading |
eyes_devices |
List available device presets |
Device Presets
| Name | Viewport | Type |
|---|---|---|
iphone-se |
375x667 | Mobile |
iphone-14 |
390x844 | Mobile |
ipad |
768x1024 | Tablet |
laptop |
1280x800 | Desktop |
desktop |
1440x900 | Desktop |
Audit Checks
- Overflow: Elements exceeding viewport width (respects scroll parents)
- Font size: Text below 12px minimum
- Touch targets: Interactive elements below Apple HIG 44px minimum
- Heading hierarchy: Skipped heading levels (h1 -> h3)
Grading
| Grade | Criteria |
|---|---|
| S+ | Zero issues |
| A | 1-5 medium, zero high |
| B | 6+ medium, zero high |
| C | 1-2 high |
| D | 3-5 high |
| F | 6+ high |
Setup
cd lo-eyes
python3 -m venv .venv
source .venv/bin/activate
pip install playwright mcp
python3 -m playwright install chromium
Usage
As MCP Server (Claude Code)
Add to .mcp.json:
{
"mcpServers": {
"lo-eyes": {
"command": "/path/to/lo-eyes/.venv/bin/python3",
"args": ["/path/to/lo-eyes/server.py"]
}
}
}
As CLI
./lo-eyes audit / # Audit homepage
./lo-eyes screenshot /blog/ --device ipad # iPad screenshot
./lo-eyes scan / --device iphone-14 # Full-page chunked scan
./lo-eyes responsive /academy/ # All 5 viewports
Stack
- Python 3
- Playwright (headless Chromium)
- MCP SDK (FastMCP, stdio transport)
License
MIT
Built with love by Like One.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lo_eyes-1.0.0.tar.gz.
File metadata
- Download URL: lo_eyes-1.0.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcc82bec357ac07da89ce8b17f33306aebbc82184aa65a82de7c05eaec2e14cf
|
|
| MD5 |
5d3b003b1ae5e880deb0a75788a4e06f
|
|
| BLAKE2b-256 |
108a178491786242ce2a61a9381d6a1a43e7b34ab9ec27e2b693c9a35bc91937
|
Provenance
The following attestation bundles were made for lo_eyes-1.0.0.tar.gz:
Publisher:
publish.yml on sophiacave/lo-eyes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lo_eyes-1.0.0.tar.gz -
Subject digest:
dcc82bec357ac07da89ce8b17f33306aebbc82184aa65a82de7c05eaec2e14cf - Sigstore transparency entry: 1769370371
- Sigstore integration time:
-
Permalink:
sophiacave/lo-eyes@4bd494d6ba83ac3be806d5ff415c80d6e9a63245 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/sophiacave
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bd494d6ba83ac3be806d5ff415c80d6e9a63245 -
Trigger Event:
release
-
Statement type:
File details
Details for the file lo_eyes-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lo_eyes-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5efb15e8fc8dcc4915d387298e9b58a337f15eaa03f4baf566db701062661395
|
|
| MD5 |
708f8f098439b837464c947a7d8532af
|
|
| BLAKE2b-256 |
a191d1e73b7f051f25f6d5852acbb10e83dc9f928fa05185105348578296c365
|
Provenance
The following attestation bundles were made for lo_eyes-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on sophiacave/lo-eyes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lo_eyes-1.0.0-py3-none-any.whl -
Subject digest:
5efb15e8fc8dcc4915d387298e9b58a337f15eaa03f4baf566db701062661395 - Sigstore transparency entry: 1769371274
- Sigstore integration time:
-
Permalink:
sophiacave/lo-eyes@4bd494d6ba83ac3be806d5ff415c80d6e9a63245 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/sophiacave
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bd494d6ba83ac3be806d5ff415c80d6e9a63245 -
Trigger Event:
release
-
Statement type: