What are MCP Resources?
MCP Resources are static, versioned datasets exposed through the Model Context Protocol. Unlike tools that perform actions, resources provide factual data that models can reference to ground their analysis in authoritative standards.Key Characteristics
- Read-only: Resources cannot be modified; they reflect published standards
- URI-addressable: Each resource has a unique URI (e.g.,
wcag://criteria/1.4.3) - Structured: All resources return JSON with consistent schemas
- Filterable: Most resources support filtering by level, principle, or category
Available Resources
AccessibilityHub provides three resource categories:WCAG Criteria
WCAG 2.1 success criteria with descriptions, levels, and remediation guidance
Contrast Thresholds
WCAG 2.1 and APCA contrast ratio requirements for text and UI elements
Lighthouse Audits
Lighthouse accessibility audit catalog with WCAG mappings
URI Patterns
All resources use custom URI schemes:| URI Scheme | Description | Example |
|---|---|---|
wcag:// | WCAG 2.1 criteria and guidelines | wcag://criteria/1.4.3 |
contrast:// | Contrast threshold reference data | contrast://thresholds/wcag21 |
lighthouse:// | Lighthouse audit definitions | lighthouse://audits/color-contrast |
Path Parameters
Many resources support dynamic path parameters:Accessing Resources
Via MCP Client
MCP clients can read resources using theresources/read method:
Via AI Models
AI models with MCP support can request resources directly:Listing Available Resources
List all available resources of a given type:Response Format
All resources return a consistent response structure:Array of resource contents
Example Response
Common Patterns
Look Up WCAG Details for Issues
When an analysis tool returns WCAG violations, use resources to get full context:Check Contrast Requirements
Before or after running contrast analysis:Understand Lighthouse Audits
Map Lighthouse audit IDs to WCAG criteria:Resource Versioning
Resources reflect published standards and are versioned with the server:- WCAG resources: Based on WCAG 2.1 (current W3C Recommendation)
- Contrast resources: Includes both WCAG 2.1 and APCA (WCAG 3.0 draft)
- Lighthouse resources: Reflects Lighthouse v10+ audit definitions
- WCAG 2.2 criteria when finalized
- WCAG 3.0 resources when published
- Additional reference datasets
Error Handling
Resources return error objects for invalid requests:error field in the parsed response:
Best Practices
Cache resource data for repeated access
Cache resource data for repeated access
Resources are static and safe to cache during a session:
Use filtered resources over individual lookups
Use filtered resources over individual lookups
When you need multiple related items, use filtered resources:
Combine resources with tools for full analysis
Combine resources with tools for full analysis
Resources provide reference data; tools perform analysis. Use them together:
Next Steps
WCAG Criteria
Explore all WCAG 2.1 success criteria
Contrast Thresholds
Look up contrast ratio requirements
Lighthouse Audits
Browse Lighthouse audit catalog
Analysis Tools
Learn about analysis tools that reference these resources