loading…
Search for a command to run...
loading…
An MCP server that queries the baseline status of web platform features using data from webstatus.dev. It provides tools to get feature baseline status and a su
An MCP server that queries the baseline status of web platform features using data from webstatus.dev. It provides tools to get feature baseline status and a summary of baseline categories.
A Model Context Protocol (MCP) server that allows you to query the baseline status of web platform features using data from webstatus.dev.
Install dependencies:
npm install
Build the local MCP server:
npm run build
Create a .vscode/mcp.json file in your workspace and add the following configuration (example for GitHub Copilot):
{
"servers": {
"baseline-mcp-server": {
"command": "node",
"args": [
"${workspaceFolder}/dist/index.js"
],
"env": {
"API_BASE_URL": "https://api.webstatus.dev"
}
}
}
}
Open an MCP-supported client extension like Copilot Chat in Agent mode
Select Agent from the chat mode dropdown list
Select a model like "Claude 3.5 Sonnet"
Enter your Baseline-related prompt
You can deploy the server to Cloudflare Workers for a remote setup. The configuration will work globally without region-specific changes.
Install Wrangler (Cloudflare Workers CLI):
npm install -g wrangler
Register for Cloudflare (if needed):
Login to Cloudflare:
wrangler login
Build and deploy the worker:
npm run deploy
This will build the worker and deploy it globally using the configuration in wrangler.toml.
Configure VS Code for the remote server:
Update your .vscode/mcp.json to include the remote server configuration:
{
"servers": {
"baseline-mcp-server": {
"url": "https://baseline-mcp-server.YOUR_WORKER_SUBDOMAIN.workers.dev",
"type": "http"
}
}
}
Replace YOUR_WORKER_SUBDOMAIN with your Cloudflare account's workers subdomain.
Note: The worker configuration uses Cloudflare's global network by default, so no region-specific setup is needed. Requests will automatically be routed to the nearest edge location.
Prompt
What's the Baseline status of view transitions?
Response
I'll check the baseline status for the View Transitions API using the baseline tools.
Input
{
"query": [
"view transitions"
]
}
Output
Found 2 features:
Status: ⚠️ LIMITED
Browser Support:
Usage Statistics:
Web Platform Tests:
Specifications:
Recommendation: 🔴 Consider polyfills or alternatives
Status: ⚠️ LIMITED
Browser Support:
Usage Statistics:
Web Platform Tests:
Specifications:
Recommendation: 🔴 Consider polyfills or alternatives
Based on the baseline status check, here's what we know about View Transitions:
1. Same-document View Transitions:
• Has LIMITED support status
• Supported in Chrome/Edge (since v111, March 2023)
• Recently added to Safari (v18, September 2024)
• Has relatively low usage (0.2% of Chrome page views)
• Test coverage varies significantly across browsers (87-93% in Chrome/Edge, but only 24% in Chrome Android)
2. Cross-document View Transitions:
• Also has LIMITED support status
• Newer feature with broader browser support:
○ Chrome/Edge: v126 (June 2024)
○ Safari: v18.2 (December 2024)
• Higher usage than same-document transitions
get_web_feature_baseline_statusGet comprehensive baseline information for one or more web platform features.
Parameters:
query (required): An array of strings with the names of the features to search forinclude_browser_details (optional, default: true): Whether to include browser implementation detailsinclude_usage_stats (optional, default: true): Whether to include usage statisticsinclude_test_results (optional, default: true): Whether to include test results from Web Platform Testsinclude_specs (optional, default: true): Whether to include links to the feature's specificationslimit (optional, default: 10): The maximum number of results to return (between 1 and 20)get_baseline_summaryGet an overview of the Baseline system and its status categories. This tool takes no parameters.
To add new tools or modify existing ones:
src/tools/baseline-tools.ts.src/index.ts.This project is licensed under the MIT License.
Run in your terminal:
claude mcp add baseline-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.