Atlas / MCP servers / agenticfabriq / mnemiq

mnemiqCAUTION

mcp/agenticfabriq/mnemiq

Open-source text-to-SQL engine you tune and measure on your own database

Verdict
CAUTION
Grade
C
Trust score
70 /100
Exposed tools
3 2r · 0w · 1d
Transport
stdio
License
Apache-2.0
Stars
47
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Text-to-SQL you can tune to your database. /NEM-ik/ — the "m" is silent, as in mnemonic.

By [Agentic Fabriq](https://www.agenticfabriq.com) (YC W26) — made with love, from MIT.

An open-source engine that answers natural-language questions over your database, built so that every stage between the question and the SQL is a setting you can read, change, and measure.

Two answers and a refusal. The third question asks for revenue the database does not hold, and the engine says so — naming the columns it would have needed — instead of returning a number that looks right. That distinction is the whole design.

Read more · Product page · Launch article · Technical report (PDF, DOI 10.5281/zenodo.22806094) · Paper (PDF) · beacon — the grader and results tracker

Why mnemiq exists

Every text-to-SQL product has an accuracy number. Almost none of them were measured on a database that looks like yours.

A system can do well on a benchmark and then struggle on your warehouse because the schema is larger, the naming is different, the business definitions live in people's heads, or the configuration that suited the benchmark simply doesn't suit your data. When it underperforms, a closed system gives you no way to find out why, and nothing to change.

So the question worth asking isn't how accurate is it. It's:

How well will this work on my database — and what can I change if it doesn't?

mnemi

Read from source at commit f8d278c49a21OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mnemiq-workbench --env MNEMIQ_ENRICH_API_KEY=${MNEMIQ_ENRICH_API_KEY} --env MNEMIQ_LLM_API_KEY=${MNEMIQ_LLM_API_KEY} --env MNEMIQ_ORACLE_TEST_ADMIN_PASSWORD=${MNEMIQ_ORACLE_TEST_ADMIN_PASSWORD} --env MNEMIQ_ORACLE_TEST_PASSWORD=${MNEMIQ_ORACLE_TEST_PASSWORD} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mnemiq-workbench": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MNEMIQ_ENRICH_API_KEY": "${MNEMIQ_ENRICH_API_KEY}",
        "MNEMIQ_LLM_API_KEY": "${MNEMIQ_LLM_API_KEY}",
        "MNEMIQ_ORACLE_TEST_ADMIN_PASSWORD": "${MNEMIQ_ORACLE_TEST_ADMIN_PASSWORD}",
        "MNEMIQ_ORACLE_TEST_PASSWORD": "${MNEMIQ_ORACLE_TEST_PASSWORD}"
      }
    }
  }
}
03

Exposed tools (3)

2 read · 0 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
db_readreadAnswer a natural-language question over the database (read-only). Returns the
db_writedestructiveExecute a single INSERT/UPDATE/DELETE (read/write governed separately from db_read).
get_schemareadList the tables you are allowed to query.
04

Trust audit

CAUTIONgrade C · trust 70/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (4 observation(s))
Network
declared (7 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
found

Findings (21)

MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
workbench/src/lib/csv.ts:26
new Blob([`${toCsv(preview)}`], { type: "text/csv;charset=utf-8;" });
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/eval-nightly.yml:94
MNEMIQ_PG_DSN: postgresql://postgres:postgres@localhost:5432/acme
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
tests/acme_dsn.py:45
return f"postgresql://mnemiq:mnemiq@localhost:{port}/acme"
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
tests/test_function_inventory.py:294
raise RuntimeError("dsn=postgresql://u:p@h/db refused")
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
tests/test_plan_query.py:259
leaky = 'permission denied for table hr_prod.payroll_salary; postgresql://svc:[email protected]/x'
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
tests/test_plan_query.py:300
leaky = 'permission denied for table hr_prod.payroll_salary; postgresql://svc:[email protected]/x'
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
db_write
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
scripts/run_verify_replay.py:155
key = hashlib.sha1(f"{self._model}\x00{question}\x00{sql}".encode()).hexdigest()
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/test_source_resolve.py:117
oracle_config_dir="/etc/oracle/wallet", oracle_wallet_password="wp")
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/test_source_resolve.py:119
assert kwargs["config_dir"] == "/etc/oracle/wallet"
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/test_sql_authz_guard.py:214
"SELECT pg_read_file('/etc/passwd')",                           # not even a table read
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/test_sql_authz_guard.py:308
"UPDATE claim SET amount = pg_read_file('/etc/passwd') WHERE id = 1",
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
tests/test_function_inventory.py:101
con.execute("CREATE MACRO all_ssns() AS 1")     # the exfiltration fixture's shape
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/test_local_only.py:70
_s(llm_base_url="http://169.254.169.254/v1", llm_api_key="k").assert_local_only()
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/test_local_only.py:71
assert "169.254.169.254" in str(exc.value)
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:242
uv run mnemiq serve --http     # http://127.0.0.1:8080
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_embeddings.py:117
settings = Settings(llm_base_url="http://127.0.0.1:8000/v1", llm_api_key="k", local_only=True)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_embeddings.py:135
settings = Settings(llm_base_url="http://127.0.0.1:8000/v1", llm_api_key="k")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_llm_client.py:27
settings = Settings(llm_base_url="http://127.0.0.1:8000/v1", llm_api_key="k", local_only=True)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_llm_client.py:42
settings = Settings(llm_base_url="http://127.0.0.1:8000/v1", llm_api_key="k")
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
workbench/package.json
react, react-dom, react-markdown, remark-gfm, @tailwindcss/vite, @testing-library/dom, @testing-library/jest-dom, @testing-library/react
Why it matters. 17 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha f8d278c49a21full audit observations/trust-audit/mcp-server/agenticfabriq__mnemiq.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08f8d278c49a21CAUTIONC70first audit
06

Questions

What is the mnemiq MCP server?

Open-source text-to-SQL engine you tune and measure on your own database

What tools does mnemiq expose?

3 in total: 2 read-only, 0 that write, and 1 that can delete or overwrite (db_write). Every one is listed on this page with its risk.

Is mnemiq safe to connect to an agent?

With care. The audit graded it C (70/100) and found 21 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does mnemiq need?

It reads MNEMIQ_ENRICH_API_KEY, MNEMIQ_LLM_API_KEY, MNEMIQ_ORACLE_TEST_ADMIN_PASSWORD, MNEMIQ_ORACLE_TEST_PASSWORD, MNEMIQ_VERIFY_API_KEY and ORACLE_SYS_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does mnemiq run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as mnemiq-workbench at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (f8d278c49a21), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement