
wcag-pdf-ua-section-508
io.github.oneandroid-max/wcag-pdf-ua-section-508
Audit public webpages for WCAG 2.2 AA & linked PDFs; estimate ADA Title II PDF/UA-1 budgets.
Documentation
ContextGuard (contextguard-mcp)
Stop burning $50–$200/month on AI-coding context-compaction loops in Claude Code, Cursor, Codex, and Windsurf.
When an AI coding session loads an oversized CLAUDE.md, AGENTS.md, .cursorrules, historical plan doc, or unignored lockfile on boot — or re-reads the same files after compaction — 40%–80% of the context window is already consumed before tool call #1. Within 10–15 minutes of tool calls, compaction fires again, breaking prompt-cache continuity and multiplying input token costs by 5x–7x.
ContextGuard is a zero-dependency Node.js CLI, Model Context Protocol (MCP) server, and Chrome Manifest V3 Side Panel extension that audits token traps, compiles a deterministic <5 KB START.md boot card, and compresses web docs/GitHub PRs into strict token budgets.
Quick Start (Zero Install — 0 npm Dependencies)
# 1. Audit startup token burn, lockfile leaks & compaction risk in any repo
npx --allow-git=all --yes github:oneandroid-max/contextguard-mcp audit .
# 2. Enforce a CI pull-request startup token ceiling (e.g. <= 6,000 tokens)
npx --allow-git=all --yes github:oneandroid-max/contextguard-mcp audit . --max-boot-tokens 6000
# 3. Compile a <5 KB START.md boot card from oversized CLAUDE.md / AGENTS.md files
npx --allow-git=all --yes github:oneandroid-max/contextguard-mcp slim . --write
# 4. Compress an HTML doc, PR diff, or log file to a 3,000-token Markdown budget
npx --allow-git=all --yes github:oneandroid-max/contextguard-mcp clip ./pr-page.html --budget 3000
Add as a Local MCP Server (Claude Code, Cursor, Windsurf)
Claude Code CLI (1 command)
claude mcp add contextguard -- npx --allow-git=all -y github:oneandroid-max/contextguard-mcp --mcp
.mcp.json / .cursor/mcp.json (Local stdio)
{
"mcpServers": {
"contextguard": {
"command": "npx",
"args": ["--allow-git=all", "-y", "github:oneandroid-max/contextguard-mcp", "--mcp"]
}
}
}
Hosted Remote Streamable HTTP MCP (0 Local Install)
Connect any Streamable HTTP MCP client directly to https://secondforeman.com/api/mcp (verified Official MCP Registry namespace com.secondforeman/contextguard & com.secondforeman/bidradar):
{
"mcpServers": {
"secondforeman-suite": {
"type": "streamable-http",
"url": "https://secondforeman.com/api/mcp"
}
}
}
Exposed MCP Tools (v1.3.0 — 10 Read-Only & Annotated Tools)
| Tool | What It Does |
|---|---|
contextguard_audit_workspace | Audits CLAUDE.md, AGENTS.md, .cursorrules, docs/plans/*.md, and lockfiles for token burn & compaction spirals. |
contextguard_slim_boot_card | Generates a <5 KB START.md boot card and .claudeignore cutting startup reads by 60%–85%. |
contextguard_compress_web_doc | Strips scripts, styles, SVGs, nav boilerplate, and duplicate stack traces into a budgeted Markdown prompt. |
contextguard_scan_public_repo | Live GitHub owner/repo scanner auditing AGENTS.md, CLAUDE.md, .cursorrules, .windsurfrules, .clinerules, and .github/copilot-instructions.md for startup token burn & hidden bidi/zero-width Unicode prompt injection. |
bidradar_search_public_bids | Searches live written/async public-sector RFPs, sub-threshold P-Card quotes, and ADA Title II PDF/web opportunities via BidRadar. |
ada_estimate_pdf_ua_remediation | Estimates DOJ 28 CFR Part 35 ADA Title II PDF/UA-1 & WCAG 2.1 AA remediation cost and $15k Federal GPC / $25k State P-Card eligibility. |
ada_audit_public_webpage | SSRF-hardened read-only WCAG 2.2 AA & linked-PDF quick audit on any public https:// webpage (lang, title, h1, img[alt], iframe[title], .pdf count). |
ada_inspect_public_pdf_ua | SSRF-hardened ISO 14289-1 (PDF/UA-1) & WCAG 2.1 AA binary PDF inspector checking /MarkInfo, /StructTreeRoot, pdfuaid:part=1 XMP, /Lang, /DisplayDocTitle, raster scan OCR flags, and $1.50/$3.00 remediation cost. |
epa608_calculate_leak_rate | Computes 2026 EPA Section 608 & AIM Act 40 CFR § 84.106 (>= 15 lb HFC/A2L GWP > 53) annualizing & rolling 12-month refrigerant leak rates. |
govcon_calculate_gpc_unison_margin | Calculates Unison Marketplace (<= 3.93% GSA GS-35F-131GA fee) & Federal $15,000 GPC (FAR 13.2 + Stripe 2.9% + $0.30) net profit, FOB Destination margin, and floor-safe seller bid. |
Browser Workbench, 7 Free Interactive Calculators/Scanners, Chrome MV3 & Pro Suite
- Interactive Browser Workbench & Chrome Extension Download (
ID: chdlakehgngdamohjclpefafedagegom): https://secondforeman.com/contextguard/ - Zero-Upload Browser & Remote ISO 14289-1 (
PDF/UA-1) File Inspector: https://secondforeman.com/bidradar/pdf-ua-file-inspector/ - Live GitHub
owner/repoToken-Burn & Prompt-Injection Scanner: https://secondforeman.com/contextguard/repo-scanner/ - Live ADA Title II Website & Linked-PDF Exposure Scanner: https://secondforeman.com/bidradar/ada-website-pdf-scanner/
- Free Unison Marketplace & Federal
$15kGPC Margin Calculator: https://secondforeman.com/bidradar/unison-gpc-margin-calculator/ - Free AI-Coding Compaction & Prompt-Cache Cost Calculator: https://secondforeman.com/contextguard/token-burn-calculator/
- Free ADA Title II PDF/UA-1 & WCAG 2.1 AA Budget Estimator: https://secondforeman.com/bidradar/ada-title-ii-pdf-estimator/
- Free 2026 EPA Section 608 & AIM Act A2L Leak-Rate Calculator: https://secondforeman.com/epa-608-practice-test/leak-rate-calculator/
- 15-Second Faceless Walkthrough (YouTube Short): https://www.youtube.com/shorts/GBZdfj1uS-U
- Stripe-Verified Publisher Profile (
TrustMRR): https://trustmrr.com/startup/second-foreman-llc - BidRadar — Self-Serve B2B Public-Bid, RFQ & ADA Compliance Lead Alerts: https://secondforeman.com/bidradar/
- SignalClip — B2B Directory, Table, Bulk PDF & Buyer-Signal Extractor (Chrome MV3): https://secondforeman.com/signalclip/
- ADA Title II & ISO 14289-1 (
PDF/UA-1) GitHub Action: oneandroid-max/pdf-ua-audit-action
Set SECOND_FOREMAN_PRO_KEY="SC1...." in your shell or .mcp.json env block to unlock unlimited multi-file JSONL transcript forensics, Pro .mcp.json/CI workflow generation, 500-PDF folder batch CSV exports, compiled <5 KB START.md repo downloads, Unison Bid CSV exports, and unredacted BidRadar direct buyer emails ($29/mo or $149/yr instant Stripe checkout at secondforeman.com/contextguard/#pricing).
Privacy & Publisher Disclosure
- 100% Local Processing:
contextguardaudits files and compresses HTML locally on your machine with zero telemetry and zero code/prompt uploads. - Publisher: Second Foreman LLC · 801 NW 10th Street #470, Oklahoma City, OK 73106-6931 · hello@secondforeman.com · Veteran-Owned Small Business.
- Built and operated by an AI agent (Google Gemini) with Paul Edward Lewis Jr. human sign-off, guaranteed by Second Foreman LLC.
No installation packages available.
Remote
Related Servers
io.github.oneandroid-max/ada-title-ii-pdf-inspector
Inspect PDFs against 7 ISO 14289-1 (PDF/UA-1) & DOJ ADA Title II checks and remediation costs.
io.github.oneandroid-max/claude-md-start-slimmer
Scan CLAUDE.md, AGENTS.md & GitHub repos for startup token burn and compile <5KB START.md.
io.github.oneandroid-max/contextguard-compaction
Audit AGENTS.md & .cursorrules token burn, compile <5KB START.md cards, and stop compaction loops.