Logo van NeuronDB Ecosystem

NeuronDB Ecosystem

Community
neurondb

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

Uitgeverneurondb
Repositoryneurondb
TaalC
Forks
10
Sterren
51
Beschikbare tools
0
Transporttypestdio
Categorieën
Links
  • Koppel tools aan AI-workflows

    NeuronDB Ecosystem biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • Beschikbare tools: 0

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Belangstelling voor het opensourceproject

    Statistieken van de gekoppelde repository (sterren: 51, forks: 10).

NeuronDB - AI Database Extension for PostgreSQL

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

PostgreSQL Version License Documentation


Run the system in 5 minutes

From the repository root:

bash
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


Overview

Vectors, embeddings, and ML—inside PostgreSQL. NeuronDB keeps similarity search and models on your live rows, not in a separate database you have to sync and babysit.

HNSW · IVFFlat · kNN · hybrid full-text + vector · RAG pieces · train & predict in SQL—all first-class in the engine.

One extension: same Postgres backups, HA, and security. Start with CREATE EXTENSION neurondb;, then index and query from SQL.

Key Capabilities

CategoryDetails
Vector typesvector, vectorp, vecmap, vgraph, rtext, halfvec, binaryvec, sparsevec (8 types)
Index access methodsHNSW and IVF only. PQ and OPQ are quantization (codebook training), not separate index types. Hybrid and multi-vector search are query-level functions.
Distance metricsL2, cosine, inner product, L1, Hamming, Jaccard, and others
ML25+ algorithm families (train/predict/evaluate): linear regression, XGBoost, LightGBM, CatBoost, K-Means, etc.
SQL~650+ functions and operators (vector, ML, embeddings, RAG, indexing). See FEATURES.md and SQL API.
GPUCUDA, ROCm, Metal (distance and search; index build is CPU only). See GPU feature matrix.
Background workersneuranq, neuranmon, neurandefrag, neuranllm

Performance Metrics

NeuronDB provides significant performance improvements over standard PostgreSQL extensions:

Index Build Performance:

The index build time for HNSW follows the relationship:

$$T_{build} = O(N \cdot \log N \cdot m \cdot ef_{construction})$$

Where:

  • $N$ = number of vectors
  • $m$ = number of connections per node (typically 16-32)
  • $ef_{construction}$ = size of candidate list during construction (typically 64-200)

Query Performance:

Query latency for HNSW search:

$$T_{query} = O(\log N + ef_{search} \cdot k)$$

Where:

  • $ef_{search}$ = size of candidate list during search (typically 40-200)
  • $k$ = number of results requested

Throughput Calculation:

$$QPS = \frac{1}{T_{query}} = \frac{1}{O(\log N + ef_{search} \cdot k)}$$

[!TIP] For optimal performance, tune ef_search based on your recall requirements. Higher values improve recall but increase latency.

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

https://www.neurondb.ai/docs — API reference (~650+ SQL functions), tutorials, deployment, and troubleshooting.

Architecture

NeuronDB follows PostgreSQL's architectural patterns and extends the database with AI capabilities.

System Architecture

Vector Query Flow

HNSW Index Structure

[!NOTE] HNSW creates a multi-layer graph where higher layers have fewer nodes and longer edges, enabling fast approximate nearest neighbor search. The search starts at the top layer and navigates down to find the closest neighbors.

Compatibility

PostgreSQLStatusPlatformsArchitectures
16.x✅ SupportedUbuntu 20.04/22.04, Debian 11/12, Rocky Linux 8/9, macOS 13+linux/amd64, linux/arm64, darwin/arm64
17.x✅ SupportedUbuntu 20.04/22.04, Debian 11/12, Rocky Linux 8/9, macOS 13+linux/amd64, linux/arm64, darwin/arm64
18.x✅ SupportedUbuntu 20.04/22.04, Debian 11/12, Rocky Linux 8/9, macOS 13+linux/amd64, linux/arm64, darwin/arm64

[!NOTE] NeuronDB supports PostgreSQL 16, 17, and 18. The extension validates the PostgreSQL version at creation time. GPU acceleration requires platform-specific drivers (CUDA 12.2+, ROCm 5.7+, or macOS 13+ for Metal).

Support & Community

ResourceLinkDescription
GitHub IssuesReport IssuesBug reports and feature requests
GitHub DiscussionsJoin DiscussionCommunity Q&A and discussions
Email Supportsupport@neurondb.aiDirect email support
Security Issuessecurity@neurondb.aiReport security vulnerabilities
Documentationneurondb.ai/docsComplete documentation

Contributing

We welcome contributions. See CONTRIBUTING.md for:

  • ✅ Code style guidelines - Follow PostgreSQL coding standards
  • ✅ Development workflow - Fork, branch, test, submit PR
  • ✅ Testing requirements - All changes must include tests
  • ✅ Pull request process - Review and approval workflow
  • ✅ Documentation - Update docs for new features

License

NeuronDB is released under a proprietary license. See LICENSE for details.

Usage TypePermittedNotes
Personal Use✅ YesBinary code only
Commercial Use❌ NoContact for licensing
Source Modifications❌ NoNo derivatives allowed
Redistribution❌ NoContact for distribution rights

For commercial licensing, contact support@neurondb.ai

Authors

neurondb, Inc.
Email: support@neurondb.ai
Website: https://neurondb.ai/docs


Documentation • Full Documentation • GitHub • Support

⬆ Back to Top

Installatie

TypingMind
Vereisten:

Node.js 18+

{
  "mcpServers": {
    "neurondb-neurondb": {
      "command": "npx",
      "args": [
        "-y",
        "neurondb"
      ]
    }
  }
}

Gebruik NeuronDB Ecosystem MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra NeuronDB Ecosystem is verbonden, kun je de verbinding dus met verschillende AI-modellen in TypingMind gebruiken, zonder die voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg NeuronDB Ecosystem toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus op ‘Gereed’ staat.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van NeuronDB Ecosystem.
  4. Sla de serverlijst op.
  5. Vernieuw de pagina als je wilt controleren of de connectorstatus nog op ‘Gereed’ staat.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "neurondb-neurondb": {
      "command": "npx",
      "args": [
        "-y",
        "neurondb"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van NeuronDB Ecosystem in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van NeuronDB Ecosystem in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je NeuronDB Ecosystem gebruiken om me hiermee te helpen?
NeuronDB Ecosystem
Zeker. Ik heb het gelezen.
Dit vond ik met NeuronDB Ecosystem.

Veelgestelde vragen

Waarvoor wordt de MCP-server NeuronDB Ecosystem gebruikt?

NeuronDB Ecosystem is een MCP-server waarmee compatibele AI-clients toegang krijgen tot externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik NeuronDB Ecosystem MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je NeuronDB Ecosystem gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom NeuronDB Ecosystem MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als NeuronDB Ecosystem verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik NeuronDB Ecosystem MCP met TypingMind?

NeuronDB Ecosystem werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt NeuronDB Ecosystem MCP in TypingMind?

NeuronDB Ecosystem biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om NeuronDB Ecosystem MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als NeuronDB Ecosystem authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇