A simple example MCP server that works with Claude and other MCP-compatible clients
This example MCP server demonstrates how to build a simple tool that works with Claude and any other MCP-supporting client. It handles basic unit conversions between common measurement units.
https://units.coreyja.com/mcp/sseA simple tool that converts between units. Provide an input value and desired output unit.
input_value → Your starting point (like "10 meters" or "32 fahrenheit")output_unit → Your destination (like "feet" or "celsius")This example server supports a handful of common unit conversions. It's not comprehensive, but it demonstrates the MCP pattern nicely.
meters, feet, kilometers, miles
kilograms, pounds, grams
celsius, fahrenheit
liters, gallons, milliliters, cubic meters/feet/inches
mph, km/h, m/s, ft/s
square meters/feet/kilometers/miles, acres
kg/m³, lb/ft³, g/cm³, g/mL
m/s², ft/s²
newtons, pounds force
joules, foot pounds
watts, horsepower
miles/gallon, km/L, L/100km