Skip to main content
This page demonstrates live WebMCP tools that register themselves with the browser and can be called by AI agents in real-time. Each tool showcases a different WebMCP capability.
These tools are live and ready! The WebMCP polyfill is included with this documentation site. Install the MCP-B browser extension to enable AI agents (like Claude) to discover and call these tools directly.

Build Your Own

Learn how to create custom tools

Tool Registration

Understanding tool registration

WebMCP SDK

SDK reference documentation

WebMCP Status

Check if the WebMCP polyfill is loaded and ready:

Calculator Tool

Demonstrates: Basic tool registration with a simple input schema This tool shows the fundamentals of registerTool() - a single required parameter and straightforward execution. Watch the animated result display when AI computes your expression!
Try it with your AI assistant: Ask Claude to “use the calculator tool to compute 42 * 1.5 + 10” and watch the animated result appear!

Color Converter Tool

Demonstrates: Complex schemas with enum, default values, and optional parameters This tool showcases advanced input schema features - the outputFormat parameter uses an enum for constrained choices and includes a default value. Watch the color splash animation and generated palette when AI converts your color!
Try it with your AI assistant: Ask Claude to “convert the color #FF5733 to RGB format” and watch the dramatic color visualization!

Storage Management Tool

Demonstrates: Multiple tool registration and browser API integration This component registers three related tools (storage_set, storage_get, storage_list) that work together to manage browser localStorage. Watch the data flow animation as AI reads and writes to persistent storage!
Try it with your AI assistant: Ask Claude to “store my favorite color as blue, then list all stored items” and watch the data persist!

DOM Query Tool

Demonstrates: Page introspection and structured data responses This tool queries the actual page DOM using CSS selectors and returns structured element information. Watch the scanning animation and see matched elements highlighted directly on the page when AI queries!
Try it with your AI assistant: Ask Claude “how many h2 headings are on this page?” and watch the elements get highlighted on screen!