Uncertainty Calculator
Evaluate mathematical expressions and propagate measurement uncertainty.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"uncertainty-calculator": {
"url": "https://uncertaintycalculator.com/api/mcp"
}
}
}Remote endpoints
https://uncertaintycalculator.com/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (1)
π’calculate_uncertainty(expression, variables)
Evaluate a mathematical expression and propagate measurement uncertainty. Use Β± for measurements, for example 2*x with variables {"x":"3Β±0.1"}. Variable names are single ASCII letters; lowercase e is reserved for Eulerβs number. Pass variables: {} when no variables are needed. Results include raw and rounded values and human-readable and LaTeX expressions. Measurements are treated as independent; repeated uses of the same variable share its uncertainty.
Input Schema
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"pattern": "\\S"
},
"variables": {
"type": "object",
"properties": {
"a": {
"type": "string"
},
"b": {
"type": "string"
},
"c": {
"type": "string"
},
"d": {
"type": "string"
},
"f": {
"type": "string"
},
"g": {
"type": "string"
},
"h": {
"type": "string"
},
"i": {
"type": "string"
},
"j": {
"type": "string"
},
"k": {
"type": "string"
},
"l": {
"type": "string"
},
"m": {
"type": "string"
},
"n": {
"type": "string"
},
"o": {
"type": "string"
},
"p": {
"type": "string"
},
"q": {
"type": "string"
},
"r": {
"type": "string"
},
"s": {
"type": "string"
},
"t": {
"type": "string"
},
"u": {
"type": "string"
},
"v": {
"type": "string"
},
"w": {
"type": "string"
},
"x": {
"type": "string"
},
"y": {
"type": "string"
},
"z": {
"type": "string"
},
"A": {
"type": "string"
},
"B": {
"type": "string"
},
"C": {
"type": "string"
},
"D": {
"type": "string"
},
"E": {
"type": "string"
},
"F": {
"type": "string"
},
"G": {
"type": "string"
},
"H": {
"type": "string"
},
"I": {
"type": "string"
},
"J": {
"type": "string"
},
"K": {
"type": "string"
},
"L": {
"type": "string"
},
"M": {
"type": "string"
},
"N": {
"type": "string"
},
"O": {
"type": "string"
},
"P": {
"type": "string"
},
"Q": {
"type": "string"
},
"R": {
"type": "string"
},
"S": {
"type": "string"
},
"T": {
"type": "string"
},
"U": {
"type": "string"
},
"V": {
"type": "string"
},
"W": {
"type": "string"
},
"X": {
"type": "string"
},
"Y": {
"type": "string"
},
"Z": {
"type": "string"
}
},
"additionalProperties": false
}
},
"required": [
"expression",
"variables"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}Output Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"anyOf": [
{
"type": "object",
"properties": {
"exact": {
"type": "object",
"properties": {
"raw": {
"type": "string"
}
},
"required": [
"raw"
],
"additionalProperties": false
}
},
"required": [
"exact"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"estimate": {
"type": "object",
"properties": {
"value": {
"type": "object",
"properties": {
"raw": {
"type": "string"
},
"rounded": {
"type": "string"
}
},
"required": [
"raw",
"rounded"
],
"additionalProperties": false
},
"expression": {
"type": "object",
"properties": {
"symbolic": {
"type": "object",
"properties": {
"latex": {
"type": "string"
},
"human": {
"type": "string"
}
},
"required": [
"latex",
"human"
],
"additionalProperties": false
},
"asEntered": {
"type": "object",
"properties": {
"latex": {
"type": "string"
},
"human": {
"type": "string"
}
},
"required": [
"latex",
"human"
],
"additionalProperties": false
}
},
"required": [
"symbolic",
"asEntered"
],
"additionalProperties": false
}
},
"required": [
"value",
"expression"
],
"additionalProperties": false
},
"uncertainty": {
"type": "object",
"properties": {
"value": {
"type": "object",
"properties": {
"raw": {
"type": "string"
},
"rounded": {
"type": "string"
}
},
"required": [
"raw",
"rounded"
],
"additionalProperties": false
},
"relative": {
"type": "object",
"properties": {
"raw": {
"type": "string"
},
"rounded": {
"type": "string"
}
},
"required": [
"raw",
"rounded"
],
"additionalProperties": false
},
"expression": {
"type": "object",
"properties": {
"symbolic": {
"type": "object",
"properties": {
"latex": {
"type": "string"
},
"human": {
"type": "string"
}
},
"required": [
"latex",
"human"
],
"additionalProperties": false
},
"asEntered": {
"type": "object",
"properties": {
"latex": {
"type": "string"
},
"human": {
"type": "string"
}
},
"required": [
"latex",
"human"
],
"additionalProperties": false
}
},
"required": [
"symbolic",
"asEntered"
],
"additionalProperties": false
}
},
"required": [
"value",
"relative",
"expression"
],
"additionalProperties": false
}
},
"required": [
"estimate",
"uncertainty"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"error": {
"type": "string",
"minLength": 1
},
"issues": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"message": {
"type": "string"
}
},
"required": [
"code",
"path",
"message"
],
"additionalProperties": {}
}
}
},
"required": [
"error"
],
"additionalProperties": false
}
]
}Community
Evidence