baseline-mcp-server
Allows deploying the MCP server to Cloudflare Workers for remote, globally distributed access.
Enables using the MCP server via GitHub Copilot Chat in Agent mode to retrieve baseline status of web features.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@baseline-mcp-serverWhat's the baseline status of CSS Grid?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Baseline MCP Server
A Model Context Protocol (MCP) server that allows you to query the baseline status of web platform features using data from webstatus.dev.
VS Code setup
Install dependencies:
npm installBuild the local MCP server:
npm run buildCreate a
.vscode/mcp.jsonfile 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
Cloudflare Workers Deployment
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 wranglerRegister for Cloudflare (if needed):
Create a free Cloudflare account at cloudflare.com
No domain is required for Workers deployment
Login to Cloudflare:
wrangler loginBuild and deploy the worker:
npm run deployThis 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.jsonto include the remote server configuration:{ "servers": { "baseline-mcp-server": { "url": "https://baseline-mcp-server.YOUR_WORKER_SUBDOMAIN.workers.dev", "type": "http" } } }Replace
YOUR_WORKER_SUBDOMAINwith 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.
Example
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
🌐 Baseline Status: view transitions
Found 2 features:
1. Cross-document view transitions
Status: ⚠️ LIMITED
Browser Support:
Chrome: ✅ 6/11/2024 (v126)
Chrome Android: ✅ 6/11/2024 (v126)
Edge: ✅ 6/13/2024 (v126)
Safari: ✅ 12/11/2024 (v18.2)
Safari iOS: ✅ 12/11/2024 (v18.2)
Usage Statistics:
Chrome: 10.7649% of daily page views
Web Platform Tests:
Chrome: 🟡 82.3% pass rate
Chrome Android: 🟠 66.1% pass rate
Edge: 🟢 90.3% pass rate
Firefox: 🔴 1.6% pass rate
Safari: 🔴 45.2% pass rate
Specifications:
Recommendation: 🔴 Consider polyfills or alternatives
2. View transitions
Status: ⚠️ LIMITED
Browser Support:
Chrome: ✅ 3/7/2023 (v111)
Chrome Android: ✅ 3/7/2023 (v111)
Edge: ✅ 3/13/2023 (v111)
Safari: ✅ 9/16/2024 (v18)
Safari iOS: ✅ 9/16/2024 (v18)
Usage Statistics:
Chrome: 0.2001% of daily page views
Web Platform Tests:
Chrome: 🟡 87.2% pass rate
Chrome Android: 🔴 23.8% pass rate
Edge: 🟢 93.1% pass rate
Firefox: 🔴 3.3% pass rate
Safari: 🟡 79.8% pass rate
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 transitionsAvailable Tools
1. get_web_feature_baseline_status
Get 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)
2. get_baseline_summary
Get an overview of the Baseline system and its status categories. This tool takes no parameters.
Resources
Web Platform Status Dashboard - Source of baseline data and browser compatibility information
Baseline MCP Server (Deno) - Alternative implementation in Deno
Chrome Labs Baseline MCP Demo - Example of using this MCP server in a project
Development
To add new tools or modify existing ones:
Add or modify the tool's logic in
src/tools/baseline-tools.ts.Register the tool and its Zod schema in
src/index.ts.
License
This project is licensed under the MIT License.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jlacher/baseline-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server