Skip to main content
Glama
Laplace's Hoard MCP Server

Laplace's Hoard MCP Server

by Luissalet

Absorbed by Nightingale's Hoard. All functions and existing data are preserved in its independent Calculation module, OFF by default. This repository is retained as historical source and compatibility identity; it is no longer a standalone launch target. Data and capabilities are managed through Nightingale's Hoard. The documentation below describes the original implementation.

Laplace's Hoard

Would you trust a language model's arithmetic? This one doesn't have to.

A local calculator, symbolic-math, units, dates, statistics and SQL-over-files engine for a local language model: exact where exactness is possible, and every computation logged with an id the model cites and a person can re-run.

Español · Quick start · Connect to Faustus · MCP reference · Portfolio

Laplace's Hoard data view: a sales dataset profiled column by column, with a grouped SQL query and its result Actual application, synthetic demo data (--demo), real queries.

Why

Language models are bad at arithmetic, worse at statistics, and they "summarise" a table from the first rows they happen to see. A local 27B model will say that 15% of 2,347 is 351, that a CSV has "about 1,200 rows", or that p = 0.06 is significant, fluently and without warning. Laplace's Hoard gives the model engines that are exact — 0.1 + 0.2 is the rational 3/10, round(2.5) is 3 — or explicitly approximate with the precision stated, runs SQL over the real file instead of letting the model guess, and logs every computation with an id such as L-000042. The answer cites [L-000042]; the human opens it in the UI, sees the exact input and output, and can re-run it.

Related MCP server: Polymath MegaBlaster MCP

What is implemented

Area

Available now

Boundary

Exact arithmetic (calc)

+ - * / // % ** (and ^), comparisons, pct, pct_change, ratio, roots, logs, trig, floor ceil round abs min max sum mean median factorial binomial gcd lcm mod isprime nextprime factorint. Literals are exact rationals; the decimal is given to the requested precision (1–1000 digits) and flagged when rounded. Parsed through an AST whitelist, never eval/sympify.

No variables (use math). Exact powers beyond about six million digits are refused; results over 2,000 characters are cut with the digit count.

Symbolic math (math)

simplify expand factor apart together solve nsolve diff integrate limit series summation product matrix (det inv rank rref eigenvals transpose multiply) dsolve inequality. solve substitutes every root back and reports verified. The variable is inferred when there is only one.

Each call has a hard 10 s timeout in a worker process. dsolve covers first-order dy/dx = f(x, y) written in plain symbols, not SymPy's y(x) notation.

Units (units_convert)

Pint conversions, compound quantities ("5 ft 11 in"), temperature offsets, dimensional checks, compatible units.

Floating point, rounded to 12 significant digits. No currencies (rates need the network).

Dates (date_calc)

Differences with calendar breakdown, adding days/months/years, business days excluding weekends and public holidays (default Spain/Madrid, any country/region the holidays package knows), weekday, ISO week, age, time zones, parsing of ISO, day-first numeric and Spanish dates ("3 de abril de 2026"), "today".

Business days count both ends unless include_end=false. Local (city) holidays are only those the holidays package includes.

Statistics (stats)

describe ttest_1samp ttest_ind (Welch) ttest_rel mannwhitneyu wilcoxon chi2_contingency fisher_exact pearson spearman linregress proportion_ci (Wilson) normal_ci binom_test, on inline numbers or a dataset column (every row, optional group_by and where), with effect sizes and one neutral sentence of interpretation.

The interpretation states significance only. Undefined results (e.g. a constant sample) are errors, not NaN.

Data (data_*)

Register CSV/TSV, Parquet, JSON/NDJSON, Excel (one dataset per sheet), SQLite (one per table) or a folder of files - Spanish-style numbers (-1.150,00) become exact decimals and Windows-1252 files, day-first dates and title rows above an Excel header are detected; schema and per-column profile (nulls, distinct, min/max, mean/sd, histogram, top values); read-only DuckDB SQL; charts (bar, line, area, scatter, histogram, pie, heatmap) as PNG for the model and interactive in the UI; full-result CSV export.

Queries run on a read-only connection with file access and extension downloads disabled, behind a one-statement gate. Model-facing results are capped (1,000 rows, 500 characters per cell). Sources over 1 GB are linked as views instead of copied. Registration runs in the request (no background job queue yet).

Work log and audit

Every computation from the UI or the assistant gets an id, is searchable and re-runnable; "Assistant activity" lists only the model's own tool calls.

Stored input/output is capped at 20,000 characters per entry.

Ask your data

A plain-English (or Spanish) question on the Data screen sends the shared language model the schema, per-column profile and up to 5 sample rows of the chosen datasets (never the full table); it must answer with one SQL query, which runs through the same read-only gate as every other query. The SQL is shown and editable, one retry happens automatically if it fails, and the answer is logged (engine="data", operation="ask") with the model's name and a suggested chart.

UI only - the agent already writes SQL itself via data_query. Needs a resolved llm capability (see "Shared models" below); disabled with the reason shown when none is available.

Use cases

Eight concrete walks, each done both by a person in the browser and by an agent over MCP, are written up in docs/USE_CASES.md (what happened when they were walked: docs/USABILITY_REPORT.md). In short:

  • Where does my money go? Register a Spanish bank export as it comes (;, 03/04/2026, -1.150,00, Windows-1252): amounts become exact numbers on their own, then SQL by category, a chart, and a CSV that a Spanish Excel opens.

  • "How much did I spend on groceries?" An agent chains data_register → data_query → calc and cites every number; 1.000 or 3,5 typed the Spanish way get a warning or an error that says how to write them.

  • Job hunt. An Excel workbook (title rows skipped) → response rate by work mode → fisher_exact on a 2×2 table → business days since the last application, Madrid holidays excluded.

  • Activity and photo libraries. A nested JSON export or a SQLite photo catalogue: registering stays small (hints to UNNEST, BLOBs shown as their size), and a chart comes back as a link, not an unrequested image.

  • Benchmarks. linregress of speed against context length, dropping crashed runs pairwise, then the earlier result looked up by its id.

  • Everyday numbers. 21 % VAT, 72 pulgadas -> cm, working days in Madrid until a date, in the notebook or the units and dates screen.

Quick start

git clone https://github.com/Luissalet/LaplacesHoard.git
cd LaplacesHoard

Windows

Double-click Iniciar Laplace's Hoard.cmd. The first run creates .venv (Python 3.13 preferred), installs requirements-lock.txt, builds the interface if frontend/dist is missing, then starts the app in the background, waits for /api/health and opens the browser. Detener Laplace's Hoard.cmd stops it. The same from PowerShell: scripts\start.ps1 [-Port 8812] [-Demo] [-NoBrowser] and scripts\stop.ps1.

Manual steps:

py -3.13 -m venv .venv
.venv\Scripts\python -m pip install -r requirements-lock.txt
cd frontend; npm ci; npm run build; cd ..
.venv\Scripts\python -m laplaces_hoard

Linux / macOS

Python 3.11 or newer and Node 22:

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements-lock.txt
(cd frontend && npm ci && npm run build)
.venv/bin/python -m laplaces_hoard --demo

The app answers on http://127.0.0.1:8812 (curl http://127.0.0.1:8812/api/health). The engines also work as a library without the server, for example .venv/bin/python -c "from laplaces_hoard.engines import calc; print(calc.compute('0.1 + 0.2'))".

--demo uses data-demo/, seeded with synthetic sales, sensor and HR files, instead of your own data/; --port and --data-dir (or LAPLACE_DATA_DIR) override the defaults; --no-browser skips opening a tab.

Statistics: Welch's t-test between two regions of the demo sales data Welch's t-test run on a dataset column, with the p-value first and a neutral interpretation.

Laplace's Hoard vendors HoardLink (laplaces_hoard/hoard_link/), a small resolver shared by the Hoard family of local apps, so "Ask your data" uses whichever language model Faustus or another local OpenAI-compatible server (Ollama, llama.cpp, or similar) already has loaded, instead of loading a copy of its own. Resolution order: explicit override in Settings, then Faustus's own model registry, then a shared server found on loopback. Everything else in this app - calc, math, units, dates, every data_* tool - works fully without any model at all; Settings → Models shows exactly what is available and why, with a Re-check button and manual overrides (Faustus URL/token, per-capability URL/model).

Connect it to Faustus

Laplace's Hoard is a plugin for Faustus and declares itself with faustus-plugin.json at the repo root. Start the app, then in Faustus open Connectors → Nearby apps → Add. Faustus finds it on port 8812, checks /api/health, launches the MCP adapter and loads the exact-numbers skill. The adapter is a stdio script started by path, with the app's URL in LAPLACE_URL:

$env:LAPLACE_URL = "http://127.0.0.1:8812"
.venv\Scripts\python.exe laplaces_hoard\mcp_server.py

MCP tools

tool

read-only

what

calc

yes

Exact arithmetic, percentages, number theory

math

yes

Solve, differentiate, integrate, limits, series, matrices

units_convert

yes

Unit conversion

stats

yes

Descriptive statistics and hypothesis tests

date_calc

yes

Date differences, business days, time zones

data_list

yes

Registered datasets

data_register

no

Add a file or folder as a dataset

data_describe

yes

Schema, profile, sample rows

data_query

yes

Read-only SQL

data_chart

yes

Chart as an image

data_report

no

Save a query, result and optional chart together in the Work log

report_rerun

no

Run a saved report again on current data

work_log

yes

Recall an earlier computation by id

It works with any MCP client over stdio; docs/MCP.md has the configuration snippet, every argument, output shape and limit.

Assistant activity: the tool calls a model made through the MCP adapter, each with its id Real tool calls made through the MCP adapter (scripts/demo_agent_session.py) against the demo data.

Architecture

flowchart LR
  UI["React interface"] -->|"/api/ui/*"| API["FastAPI app on 127.0.0.1:8812"]
  Model["Faustus or any MCP client"] -->|"stdio"| MCP["mcp_server.py"] -->|"/api/agent/*"| API
  API --> Engines["engines: calc, math, units, dates, stats, data"]
  Engines --> Worker["worker process with hard timeout"]
  Engines --> DuckDB[("DuckDB catalogue, read-only queries")]
  API --> Log[("SQLite work log and notebook")]

FastAPI over pure-Python engines (no FastAPI imports), SQLite for the work log and notebook, DuckDB for the dataset catalogue, one spawn-context worker process with a hard timeout for everything that evaluates expressions, and a React interface. The MCP adapter is a separate script that only speaks HTTP to the app. docs/ARCHITECTURE.md covers the connection model, the SQL gate, the worker and the browser guard.

Development

.venv\Scripts\python -m pytest -q
cd frontend; npm ci; npm run build

237 tests, offline, about a minute. They cover the AST whitelist (__import__, attributes, lambdas, comprehensions), exact decimals and rounding, precision up to 1000 digits, runaway and memory-bomb inputs (timeout, recovery, refusal), concurrent calls through the worker, solve verification, Pint temperature offsets, Welch's t-test and other results against SciPy, business days across Madrid holidays, day-first and Spanish dates, the SQL gate against every write and file-reading statement, registration after queries, file names with spaces and accents, Excel sheets and SQLite tables as datasets, a data directory under a folder with an apostrophe, profile numbers on a known table, chart PNGs, the SPA fallback against path traversal, the error envelope, the UI/assistant split of the audit log, the faustus-plugin.json checker, and the MCP protocol itself: the adapter spawned over stdio against a live app, listing tools (keywords and annotations on each) and calling calc, data_register, data_query, math, data_chart (a chart_url, and the image only when asked) and work_log; the shared model backend's status/config endpoints (a token is never echoed back) and "Ask your data" against a mocked language model (httpx.MockTransport): what the prompt contains (schema, at most 5 sample rows), a good SQL answer, one retry that carries the error, a clear error when the model does not answer in SQL, and the honest "unavailable" state with no model resolved; saved overrides can be cleared, a config the form never sends is refused, and a broken backend.json does not stop the app. The use-case walks added regression tests for Spanish CSVs (separators, encodings, re-registering), Excel title rows, BLOB and nested columns, decimal-comma hints in calc/math, notebook error messages and the Spanish CSV export.

Privacy and security

The app binds 127.0.0.1 only and has no telemetry. It makes no network requests: exchange rates and holiday downloads are out of scope, and DuckDB extension auto-install is disabled. Data stays in data/ (gitignored) or wherever --data-dir points; registering a file copies it into the local catalogue and never modifies the original. The shared Hoard Link guard rejects DNS rebinding (wrong Host) and cross-site requests (foreign Origin or Sec-Fetch-Site: cross-site) on every route, and the assistant's /api/agent/<tool> routes need the bearer token in data/mcp-token (the MCP adapter sends it). Every tool call is audited in the work log with its source (UI or assistant), input, output, duration and status, and "Assistant activity" shows exactly what the model ran. The Windows launch scripts were exercised with PowerShell 7 on Linux; CI runs the tests on Ubuntu with Python 3.12 and builds the interface with Node 22.

Roadmap / known limits

  • A few fixed UI strings stay in English even in the Spanish interface (engine messages, test interpretations, weekday names, chart-kind labels); translating them is planned.

  • A dataset registered by mistake cannot be removed from the UI or API yet, only re-registered over.

  • Adding a file means typing or pasting its path; there is no file picker or drag-and-drop yet.

  • The MCP list_tools payload is sizeable (about 20,000 characters, roughly 5k tokens, before the first call), which is fine at a 32k context window but heavy at 8k. Shortening the descriptions waits on a measurement of whether it hurts tool selection by small models.

  • The dataset and profile cards can overflow horizontally on very narrow windows, and a chart shows a missing category as null instead of hiding it.

See docs/USABILITY_REPORT.md for the full list of open items and how each one was found.

License

MIT - see LICENSE.

Contextual assistant

The Faustus button opens the shared conversation panel on every main view. It receives the selected notebook cell, saved calculation or dataset and the current unsaved form fields. New forms and removed objects keep their drafts without inventing references. Chats, drafts and turns remain in Faustus; Laplace keeps its numerical engines and data. The existing Ask your data workflow is preserved.

Notebook cells can now be read, created, edited partially and deleted over the normal API and MCP. Edit cell submits only changed fields, preserving changes to other fields made meanwhile. Refreshed lists retain open editors; removed cells keep their pending text with an explicit message. Settings also save only changed fields. The native tool catalogue contains all thirteen previous tools plus seven notebook/context operations. See API and concurrency behavior.

Boundary: the panel requires the configured Faustus service. Scripted browser/MCP checks demonstrate the integration and native effects; they do not grade the global model's autonomous quality.

Available Tools

11 tools
calcA
Read-onlyIdempotent

Exact arithmetic. Never do arithmetic in your head: call this, even for "simple" sums.

Write Python-like syntax: + - * / // % ** (or ^), parentheses, comparisons. Functions: sqrt cbrt root(x, n) exp ln log(x, base) log10 log2, trig, floor ceil round(x, n) abs, min max sum mean median (numbers or one list), factorial binomial gcd lcm mod, isprime nextprime factorint (alone), and percentages: pct(15, 2347) = 15% of 2347, pct_change(old, new) = % change, ratio(a, b). Constants: pi e tau inf. Numbers are exact: 0.1 + 0.2 = 3/10. Examples: "pct(21, 1250)", "(1.05^10 - 1) * 100", "mean([3, 5, 8])". Returns {id, cite, exact, decimal (text, precision significant digits), is_exact (true when decimal is the exact value), latex}. No variables: use math for x, y. Cite the number as its cite, e.g. [L-000042].

Keywords: calculate, compute, how much is, percentage, percent of, discount, VAT, interest, average, square root, factorial, is prime, calcular, cuánto es, cuánto son, porcentaje, tanto por ciento, descuento, IVA, interés, media, raíz cuadrada, factorial, es primo.

Inputs: expression (required), precision.

data_chartA
Read-onlyIdempotent

Draw a chart from a read-only SQL query and save it; only returns the image if you ask.

kind: bar, line, area, scatter, histogram (x only), pie (x = category, y = value), heatmap (x and y). x, y and color are column names of the query result, so aggregate in SQL first, e.g. sql="SELECT region, SUM(amount) AS total FROM sales GROUP BY region", kind="bar", x="region", y="total". bar/line/area without y count rows. Uses at most 5000 rows.

The chart is always saved and logged with its own id, visible in the app's Work log (its detail view shows the image). include_image defaults to false and returns only a short JSON summary (id, cite, row_count, encoding) - a text-only model must not receive an unrequested image, it can crash the turn. Only set include_image=true when you can see images and actually need to look at this one; otherwise just tell the person the returned chart_url (or [id] in the app), or call this again with include_image=true if you need to read values off the chart yourself.

Keywords: chart, plot, graph, bar chart, line chart, histogram, pie chart, visualize, gráfico, gráfica, gráfico de barras, gráfico de líneas, histograma, gráfico circular, visualizar.

Inputs: x (required), sql (required), kind (required), y, +3 more.

data_describeA
Read-onlyIdempotent

Schema, row_count, per-column profile (nulls %, distinct, min/max/mean/sd, top values) and 5 sample rows.

Before answering anything about a table, call this, then data_query: never guess column names, types or row counts. row_count here is the true size of the dataset. Sample rows are examples, not the data - do not summarise the table from them; aggregate with data_query instead.

Keywords: describe this dataset, what columns, schema, how many rows, column types, summary of the table, describe este dataset, qué columnas, esquema, cuántas filas, tipos de columna, resumen de la tabla.

Inputs: name (required).

data_listA
Read-onlyIdempotent

List the registered datasets: name, kind, row_count, column names.

Call this first when the user mentions a table or file and you do not know its dataset name. Query a dataset by its name in SQL. An empty list means nothing is registered yet: use data_register with the path.

Keywords: what data do you have, list datasets, tables, files, spreadsheets, qué datos hay, qué tablas hay, lista de datasets, archivos, hojas de cálculo.

Inputs: no named parameters.

data_queryA
Read-onlyIdempotent

Run one read-only SQL query (DuckDB dialect) over the registered datasets.

Allowed: SELECT / WITH / DESCRIBE / SUMMARIZE / EXPLAIN / PIVOT, one statement; anything that writes or reads files directly is rejected. Refer to datasets by name: SELECT region, SUM(amount) AS total FROM sales GROUP BY region ORDER BY total DESC. Let SQL do the counting and summing - do not add up returned rows yourself. Returns {id, cite, columns, rows (at most limit, default 50, max 1000), row_count (rows returned), total_rows (rows the query produced), truncated}. Long text cells are cut at 500 characters. Call data_describe first if you have not seen the schema.

Keywords: query the data, SQL, filter rows, group by, total of, sum of, average of, count, top 10, consultar los datos, filtrar, agrupar por, total de, suma de, media de, contar, los 10 primeros.

Inputs: sql (required), limit.

data_registerA
Idempotent

Register a local file or folder so it can be queried with SQL: CSV/TSV, Parquet, JSON/NDJSON, Excel, SQLite.

path is an absolute path on this computer (e.g. C:\Users\me\ventas.xlsx). The dataset name defaults to the file name made SQL-safe ("Ventas 2024" becomes Ventas_2024) - use the returned name. Excel registers one dataset per sheet ("__"), SQLite one per table, a folder all files matching options.glob (default "*.csv"). CSV options: delimiter, header, encoding (utf-8/utf-16/latin-1; auto-detected when omitted, so Windows-1252 exports work without setting anything), date_format (e.g. "%d/%m/%Y"; two-digit-year day-first dates like "13/02/25" are auto-detected already), decimal_separator and thousands_separator. Spanish-style numbers ("-1.150,00", "51,05") are detected automatically and become exact numbers - the result lists them under numbers_converted; pass decimal_separator="." to keep such a column as text, or both separators to force another convention. Excel also takes skip_rows (a title row above the real header is detected and skipped automatically; set this to override). Returns the schema and profile (like data_describe); a single-row result with nested list columns also gets a hint suggesting UNNEST. Re-registering the same path refreshes it. Not read-only: it copies the data into the local catalogue (the original file is never modified).

Keywords: load this file, open this spreadsheet, register dataset, import CSV, read Excel, cargar este archivo, abrir esta hoja de cálculo, registrar datos, importar CSV, leer Excel.

Inputs: path (required), name, options.

date_calcA
Read-onlyIdempotent

Date arithmetic: days between dates, adding time, business days, weekdays, ages, time zones.

operation and its arguments:

  • diff: start, end, unit days|weeks|months|years (also returns the calendar breakdown years/months/days).

  • add: start plus days/weeks/months/years (negative to subtract).

  • business_days: start, end; weekends and public holidays excluded, both ends counted (include_end=false to stop the day before). Default Spain, Madrid calendar; pass country (ISO code: FR, DE, US...) and subdivision.

  • weekday / iso_week: value. age: birth_date (+ on, default today).

  • convert_tz: value, from_tz, to_tz (IANA names: Europe/Madrid, America/New_York, UTC). parse: text. Dates: prefer YYYY-MM-DD. "today"/"hoy" works. Numeric dates are read day-first as in Spain (03/04/2026 = 3 April); Spanish month names work. Cite as its cite, e.g. [L-000042].

Keywords: how many days between, days until, business days, working days, add days, deadline, time zone, what day of the week, how old, cuántos días entre, cuántos días faltan, días laborables, días hábiles, sumar días, plazo, zona horaria, qué día de la semana, qué edad tiene.

Inputs: operation (required), on, end, days, +13 more.

mathA
Read-onlyIdempotent

Symbolic math with SymPy: solve equations, derivatives, integrals, limits, series, matrices.

operation is one of: simplify, expand, factor, apart, together, solve, nsolve, diff, integrate, limit, series, summation, product, matrix, dsolve, inequality. Syntax as in calc, plus variables; an equation is written x**2 - 5*x + 6 = 0 (or ==).

  • solve: expression="2*x + 1 = 7" (or expressions=[...] for a system, variables=["x", "y"]); domain real|complex. Each solution has values (exact), numeric and verified (substituted back) - check it.

  • diff: expression, variable, order. integrate: expression, variable, optional lower/upper for a definite integral. limit: expression, variable, point (e.g. "oo"), direction "+"/"-". series: variable, point, order. summation/product: variable, lower, upper.

  • nsolve: numeric root near x0. inequality: expression="x**2 < 4".

  • dsolve: dy/dx = expression, in symbols x and y (e.g. "y - x").

  • matrix: matrix_op det|inv|rank|rref|eigenvals|transpose|multiply and matrix=[[1, 2], [3, 4]] (matrix2 for multiply). variable can be omitted when the expression has only one symbol. Hard timeout (10 s): on timeout, simplify the input instead of retrying. Cite results as their cite, e.g. [L-000042].

Keywords: solve for x, equation, derivative, integral, differentiate, simplify, factor, limit, series, matrix determinant, inverse matrix, eigenvalues, resolver, ecuación, despejar, derivada, integral, simplificar, factorizar, límite, serie, matriz, determinante, autovalores.

Inputs: operation (required), x0, lower, order, +12 more.

statsA
Read-onlyIdempotent

Descriptive statistics and hypothesis tests (SciPy), with a neutral one-line interpretation.

test is one of: describe, ttest_1samp (vs mu), ttest_ind (Welch), ttest_rel (paired), mannwhitneyu, wilcoxon, chi2_contingency and fisher_exact (data = table, e.g. [[8, 2], [1, 9]]), pearson, spearman, linregress (x in data/column, y in data2/column2), proportion_ci (Wilson; successes, trials, confidence), normal_ci (mean CI), binom_test (successes, trials, p0). Numbers come inline (data, data2) or from a registered dataset: dataset + column (+ column2), group_by = a column with exactly two values for two-sample tests, where = a row filter such as "region = 'North'". Dataset columns use every row, not a sample. Report the p_value and effect size as given; the interpretation states significance only - never add causal claims. Cite as its cite.

Keywords: statistics, t-test, is it significant, p-value, correlation, regression, confidence interval, average, standard deviation, median, estadística, prueba t, es significativo, valor p, correlación, regresión, intervalo de confianza, media, desviación típica, mediana.

Inputs: test (required), mu, p0, data, +9 more.

units_convertA
Read-onlyIdempotent

Convert a physical quantity to another unit, e.g. quantity="3.5 km/h", to="m/s".

Handles compound inputs ("5 ft 11 in" to "cm"), temperatures with their offsets ("100 degF" to "degC" is 37.78, not a plain scale), and derived units (kWh, psi, mph, g/cm**3). Unit names are English/SI symbols (m, km, mi, ft, in, kg, lb, g, L, gal, degC, degF, K, s, min, h, km/h, mph, J, kWh, W, Pa, bar, psi) or their common Spanish names (metros, kilómetros, millas, pies, pulgadas, libras, kilogramos, litros, horas, minutos...). A decimal comma with no dot in the input ("3,5 km") is read as 3.5, not 35. No currencies (rates need the network). Returns {id, cite, to_magnitude, to_unit, formatted} rounded to 12 significant digits. Cite as its cite, e.g. [L-000042].

Keywords: convert, how many, in meters, in kilograms, miles to km, pounds to kilos, temperature, fahrenheit, celsius, convertir, cuántos, pasar a, en metros, en kilos, millas a kilómetros, libras a kilos, temperatura, grados.

Inputs: to (required), quantity (required).

work_logA
Read-onlyIdempotent

Recent computations from the work log (yours and the human's), newest first, each with its id.

Use it to reuse a number computed earlier instead of recomputing or remembering it, or to look one up by id: query="L-000042" returns that entry in full. engine filters by calc|math|units|stats|dates|data; query searches operation and input text. Items are short summaries (limit default 10, max 50; has_more tells you there are older ones).

Keywords: what did I calculate, previous result, earlier computation, history, look up L-, qué calculé, resultado anterior, cálculo previo, historial.

Inputs: limit, query, engine.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 11 tools

    Disambiguation4/5

    The tools map cleanly to distinct domains—arithmetic, symbolic math, units, stats, dates, data registration/query/charting, and history—so confusion is rare. The main overlap is between calc and stats, since calc includes mean/median and stats also covers descriptive statistics, so a query about 'average' could route to either. The data_* tools are clearly separated by lifecycle stage.

    Naming Consistency4/5

    Most multi-word tools use a consistent snake_case pattern (units_convert, date_calc, data_list, data_query, data_chart, work_log). The three single-word names (calc, math, stats) are predictable domain shortcuts and don't break readability, but they deviate from a strict verb_noun convention. Overall the naming is consistent enough that an agent can infer function from the name.

    Tool Count5/5

    11 tools is well-scoped for a general-purpose computation and data analysis server. Each tool covers a meaningful capability without redundant extras, such as having separate tools for every statistical test or SQL variant. The count feels intentional, and each tool earns its place.

    Completeness4/5

    The surface covers the full cycle for computation: exact/symbolic math, units, dates, statistics, and data ingestion → description → querying → visualization → history lookup. Minor gaps exist—there is no unregister/drop operation for datasets and no currency conversion—but these are explicitly out of scope or easily worked around. No common workflow dead-ends appear for the stated domain.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides 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
    • A
      license
      B
      quality
      B
      maintenance
      Enables 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.
      27
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides LLMs with deterministic math tools for sandboxed expression evaluation, descriptive statistics, primality testing, prime factorization, GCD/LCM, quadratic solving, and base conversion. Every operation runs real code rather than relying on the model's arithmetic, with expression parsing restricted to a whitelist of operators, constants, and functions.
      21
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables LLMs to run arbitrary-precision integer and bitwise operations, endianness swaps, IEEE 754 float decomposition, hashing/checksum/modular math, data codecs, statistics, and trigonometry through 29 specialized tools. Its chained batch execution engine lets multiple dependent steps run in one call, eliminating multi-turn round-trip overhead.
      29
      16 npm
      20
      MIT