ucon-mcp
Integrates with Codecov for test coverage reporting and monitoring as part of the project's CI/CD pipeline, though this appears to be a development/testing integration rather than a core MCP server capability.
Hosts the project repository and provides CI/CD workflows for testing and publishing the MCP server, though this appears to be a development infrastructure integration rather than a core MCP server capability.
Built on the ucon dimensional analysis engine for Python, providing unit-aware computation capabilities through Python's scientific computing ecosystem, though this is an implementation detail rather than a service integration.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ucon-tools
Hostable interfaces for the ucon dimensional analysis engine.
Documentation · MCP Server Guide · Tool Reference
What is ucon-tools?
ucon is a unit-aware computation library for Python. ucon-tools packages it into interfaces that other systems can consume — MCP servers for AI agents, REST APIs for web services, CLIs for humans at a terminal.
Each interface lives under ucon.tools.<interface> and is installable as an optional extra:
Interface | Package | Extra | Status |
MCP server |
|
| Available |
REST API |
|
| Planned |
CLI |
|
| Planned |
Related MCP server: Touchstone MCP Server
MCP Server
The MCP server gives AI agents (Claude, Cursor, and other MCP clients) dimensionally-verified unit conversion and computation.
Agent: "Convert 5 mcg/kg/min for an 80 kg patient to mL/h. Drug is 400 mg in 250 mL."
decompose → constraint solver places quantities, auto-bridges mcg→mg and min→h
compute → 5 × 80 kg × (60 min/h) × (1 mg/1000 mcg) × (250 mL/400 mg) = 15 mL/h
validate → result dimension matches expected unit ✓Installation
pip install ucon-tools[mcp]Requires Python 3.10+.
Configuration
Claude Desktop / Claude Code — add to your MCP configuration:
{
"mcpServers": {
"ucon": {
"command": "uvx",
"args": ["--from", "ucon-tools[mcp]", "ucon-mcp"]
}
}
}Standalone:
ucon-mcp # stdio transport (default)
ucon-mcp --transport sse # SSE transport for remote clientsTools
Core — conversion and computation:
Tool | Description |
| Convert a value between compatible units |
| Multi-step factor-label calculation with dimensional tracking |
| Build a factor chain from natural-language or structured input |
| Check if two units share the same dimension |
Discovery — explore the unit system:
Tool | Description |
| Unified discovery across topics: units, scales, dimensions, constants, formulas, quantity kinds, kind formulas, extended bases |
| Deprecated — use |
| Deprecated — use |
| Deprecated — use |
| Deprecated — use |
| Deprecated — use |
Runtime extension — add units and conversions per session:
Tool | Description |
| Unified session definition: units, conversion edges, constants, quantity kinds, extended bases ( |
| Deprecated — use |
| Deprecated — use |
| Deprecated — use |
| Call a registered dimensionally-typed formula |
| Clear all session-defined units, conversions, and constants |
Kind-of-Quantity (KOQ) — semantic disambiguation:
Tool | Description |
| Deprecated — use |
| Deprecated — use |
| Validate that a result matches the declared kind (dimension and kind) |
| Deprecated — use |
| Deprecated — use |
| Deprecated — use |
| Deprecated — use |
Unit systems — inspect and scope the active system:
Tool | Description |
| Unified system operations: restrict, diff, compatibility check ( |
| Deprecated — use |
| Deprecated — use |
| Deprecated — use |
All deprecated tools remain functional until v1.0.0 and return identical payloads to their replacements, leaving a ten-tool surface: convert, compute, decompose, check_dimensions, discover, define, system, call_formula, validate_result, reset_session. See ROADMAP.md for the migration table and what lands before then.
Architecture
The MCP server is embeddable: create_server(ServerConfig(...)) builds an independent server with your own base unit system, per-call instrumentation, and transport settings — see the embedding guide.
ucon-tools is an interface layer. It does not reimplement dimensional analysis — it delegates to ucon for all unit resolution, conversion, and dimensional algebra. What it adds is interface-specific logic: session state, protocol handling, error suggestions, and agent-oriented features like the decompose constraint solver and KOQ disambiguation.
┌───────────────────────────────────────────────────────┐
│ Clients │
│ MCP (Claude, Cursor) · HTTP · Terminal │
└──────────┬──────────────────┬──────────────┬──────────┘
│ │ │
┌──────────▼───┐ ┌──────────▼───┐ ┌───────▼──────┐
│ ucon.tools │ │ ucon.tools │ │ ucon.tools │
│ .mcp │ │ .rest │ │ .cli │
│ │ │ │ │ │
│ sessions │ │ (planned) │ │ (planned) │
│ decompose │ │ │ │ │
│ KOQ │ │ │ │ │
│ suggestions │ │ │ │ │
└──────┬───────┘ └──────┬───────┘ └──────┬───────┘
│ │ │
└──────────────────┼─────────────────┘
│ Python imports
┌──────────▼──────────┐
│ ucon │
│ │
│ Units, Dimensions │
│ ConversionGraph │
│ Scales, Constants │
└─────────────────────┘UnitSafe Benchmark
UnitSafe is a 500-problem metrological reasoning benchmark for evaluating how well AI models handle unit conversion, dimensional analysis, and kind-of-quantity discrimination. It ships with a runner that can evaluate any model with or without MCP tool augmentation.
pip install ucon-tools[benchmark]
# Bare evaluation (model solves from memory)
python benchmarks/unitsafe/run.py -m claude:claude-haiku-4-5-20251001
# Tool-augmented evaluation (model uses MCP tools)
python benchmarks/unitsafe/run.py -m claude:claude-haiku-4-5-20251001 \
--tools --mcp-url https://mcp.ucon.dev/mcp/<instance>/mcpSee benchmarks/unitsafe/ for the full dataset, runner, and evaluation protocol.
Development
make venv # Create virtual environment
source .ucon-tools-3.12/bin/activate # Activate
make test # Run tests
make test-all # Run across all supported Python versionsRunning the MCP server locally
make mcp-server # Foreground (stdio)
make mcp-server-bg # Background
make mcp-server-stop # Stop background serverLicense
AGPL-3.0. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
60+ units, live FX, timezones, and date arithmetic for AI agents.
Exact fraction math for AI agents. No floating-point drift. CODATA 2022 constants and units.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
AI-callable calculators and engineering models with real formulas. No hallucinated math.
Related MCP Servers
- AlicenseAqualityBmaintenanceUnit converter for AI agents, powered by the GNU units database — convert 3000+ units of measurement, evaluate compound unit expressions, reduce to SI base units, dimensional analysis. Offline, deterministic.61GPL 3.0
- AlicenseNot gradedqualityDmaintenanceProvides deterministic, verifiable text/code/measurement utilities for AI agents, enabling tasks like unit conversion, citation formatting, diffing, proofreading, readability scoring, and syntax checking with re-executable proof.MIT
- AlicenseNot gradedqualityBmaintenanceProvides exact, deterministic tools for math, dates, units, validation, and more to AI agents, returning precise answers with explicit assumptions and warnings instead of model guesses.MIT
- AlicenseBqualityBmaintenanceEnables AI agents to perform accurate local computations including arbitrary-precision math, date handling, unit conversion, subnet calculations, encoding, hashing, and text analysis, all without network calls or API keys.27103 npmMIT