Atlas / MCP servers / neurondb / NeuronDB

NeuronDBBLOCK

mcp/neurondb/neurondb-1

NeuronDB PostgreSQL extension: vector similarity search (HNSW, IVFFlat), embeddings, kNN, ML in SQL, and hybrid full-text + vector retrieval.

Verdict
BLOCK
Grade
F
Trust score
52 /100
Exposed tools
1 1r · 0w · 0d
Transport
—
License
NOASSERTION
Stars
51
01

Overview

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

PostgreSQL extension for vector similarity search (HNSW, IVFFlat), kNN, embeddings, machine learning, and hybrid full-text + vector search in SQL

[](https://www.postgresql.org/) [](https://github.com/neurondb/neurondb) [](LICENSE) [](https://www.neurondb.ai/docs)

Run the system in 5 minutes

From the repository root:

docker compose -f docker/docker-compose.yml up -d neurondb
docker compose -f docker/docker-compose.yml ps   # wait until healthy
docker compose -f docker/docker-compose.yml exec neurondb psql -U neurondb -d neurondb -c "CREATE EXTENSION IF NOT EXISTS neurondb; SELECT neurondb.version();"

Then run your first vector search: Simple Start or Quick Start.

Table of Contents

Expand full table of contents

  • Overview
  • Key Capabilities
  • Performance Metrics
  • Documentation
  • Getting Started
  • Vector Search & Indexing
  • ML Algorithms & Analytics
  • ML & Embeddings
  • Hybrid Search & Retrieval
  • Reranking
  • RAG Pipeline
  • Background Workers
  • GPU Acceleration
  • Performance & Security
  • Configuration & Operations
  • Official Documentation
  • [Architecture](#architecture
Read from source at commit a6a3f6e6f66cOBSERVED · 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 neurondbpy --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env CODACY_API_TOKEN=${CODACY_API_TOKEN} --env DB_PASSWORD=${DB_PASSWORD} --env NEURONAGENT_API_KEY=${NEURONAGENT_API_KEY} -- uvx neurondbpy
claude-desktop
{
  "mcpServers": {
    "neurondbpy": {
      "command": "uvx",
      "args": [
        "neurondbpy"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
        "CODACY_API_TOKEN": "${CODACY_API_TOKEN}",
        "DB_PASSWORD": "${DB_PASSWORD}",
        "NEURONAGENT_API_KEY": "${NEURONAGENT_API_KEY}"
      }
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
example-agentreadA simple example agent
04

Trust audit

BLOCKgrade F · trust 52/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

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

What the source does

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

Findings (25)

HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
scripts/neurondb-helm.sh:794
if helm package "$CHART_DIR" --sign --key "$sign_key" --keyring ~/.gnupg/secring.gpg 2>&1; then
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
src/ansible/inventory/hosts.yml:12
# ansible_ssh_private_key_file: ~/.ssh/id_rsa
Why it matters. touches a credential store
HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.env.example:83
# NEURONDB_CONNECTION_STRING=postgresql://neurondb:neurondb@neurondb-cpu:5432/neurondb
HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
docker/docker-compose.observability.yml:68
- DATA_SOURCE_NAME=postgresql://neurondb:neurondb@neurondb-cpu:5432/neurondb?sslmode=disable
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/deploy-all.sh:278
st=$(curl -s -o /dev/null -w "%{http_code}" --connect-timeout 2 "http://127.0.0.1:8083/health" 2>/dev/null || echo "---")
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/deploy-all.sh:280
printf "%-26s | %-28s | %s\n" "NeuronDB Cloud Gateway" "http://127.0.0.1:8083" "$st"
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/deploy-all.sh:285
st=$(curl -s -o /dev/null -w "%{http_code}" --connect-timeout 2 "http://127.0.0.1:$port/health" 2>/dev/null || echo "---")
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/deploy-all.sh:287
printf "%-26s | %-28s | %s\n" "$name" "http://127.0.0.1:$port" "$st"
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
QUICKSTART.md:82
psql "postgresql://neurondb:neurondb@localhost:5433/neurondb" -c "SELECT neurondb.version();"
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
QUICKSTART.md:90
psql "postgresql://neurondb:neurondb@localhost:5433/neurondb" <<EOF
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
docker/neurondb/README.md:68
postgresql://neurondb:neurondb@localhost:5433/neurondb
LOWInventory / provenance · inv.hidden_file · CWE-1104
.clang-format
.clang-format
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
src/helm/neurondb/.helmignore
.helmignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/benchmark/hybrid/run_bm.py:346
text_hash = hashlib.md5(text.encode()).hexdigest()
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/benchmark/hybrid/run_bm.py:463
text_hash = hashlib.md5(query_text.encode()).hexdigest()
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/benchmark/rag/beir_benchmark.py:20
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../../python'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/benchmark/rag/mteb_benchmark.py:27
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../../python'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/benchmark/rag/ragas_benchmark.py:26
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../../python'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/benchmark/vector/compare_with_faiss.py:23
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../../python'))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/benchmark/vector/compare_with_faiss.py:29
os.path.join(os.path.dirname(__file__), '../../ann-benchmarks'),
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
src/benchmark/hybrid/requirements.txt
numpy, psycopg2-binary, beir, tqdm
Why it matters. 4 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
src/benchmark/rag/requirements.txt
numpy, psycopg2-binary, mteb, beir, ragas, transformers, datasets, sentence-transformers
Why it matters. 9 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
src/benchmark/vector/requirements.txt
numpy, psycopg2-binary, h5py, tqdm
Why it matters. 4 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
src/dataset/requirements.txt
requests, psycopg2-binary, numpy, h5py, datasets, numpy, h5py
Why it matters. 7 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha a6a3f6e6f66cfull audit observations/trust-audit/mcp-server/neurondb__neurondb-1.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-08a6a3f6e6f66cBLOCKF52first audit
06

Questions

What is the NeuronDB MCP server?

NeuronDB PostgreSQL extension: vector similarity search (HNSW, IVFFlat), embeddings, kNN, ML in SQL, and hybrid full-text + vector retrieval.

What tools does NeuronDB expose?

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

Is NeuronDB safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (52/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does NeuronDB need?

It reads ANTHROPIC_API_KEY, CODACY_API_TOKEN, DB_PASSWORD, NEURONAGENT_API_KEY, OPENAI_API_KEY and PGPASSWORD 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 current is this page?

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

Advertisement