Vector search using the LanceDB vector database and Ollama embedding models.
A Node.js implementation for vector search using LanceDB and Ollama's embedding model.
This project demonstrates how to:
nomic-embed-text
modelpnpm install
@lancedb/lancedb
: LanceDB client for Node.jsapache-arrow
: For handling columnar datanode-fetch
: For making API calls to OllamaRun the vector search test script:
pnpm test-vector-search
Or directly execute:
node test-vector-search.js
The script connects to:
http://localhost:11434/api/embeddings
To integrate with Claude Desktop as an MCP service, add the following to your MCP configuration JSON:
{
"mcpServers": {
"lanceDB": {
"command": "node",
"args": [
"/path/to/lancedb-node/dist/index.js",
"--db-path",
"/path/to/your/lancedb/storage"
]
}
}
}
Replace the paths with your actual installation paths:
/path/to/lancedb-node/dist/index.js
- Path to the compiled index.js file/path/to/your/lancedb/storage
- Path to your LanceDB storage directoryThe project includes a custom OllamaEmbeddingFunction
that:
The example searches for "how to define success criteria" in the "ai-rag" table, displaying results with their similarity scores.
Contributions are welcome! Please feel free to submit a Pull Request.
Read and write access to your Baserow tables.
A read-only MCP server by CData for querying live Zoho Creator data using a JDBC driver.
Deliver real-time investment research with extensive private and public market data.
An MCP server for NocoDB, the open-source Airtable alternative. It allows interaction with your NocoDB instance via API.
Access Mina blockchain data, including events, actions, and network state, through the Mina Archive Node API.
Full Featured MCP Server for MongoDB Database.
Enables AI assistants to query, read, and move data on DICOM servers such as PACS and VNA for medical imaging.
Access real-time DEX analytics across 20+ blockchains with DexPaprika API, tracking 5M+ tokens, pools, volumes, and historical market data. Built by CoinPaprika.
Access the UniProt protein database with specialized bioinformatics tools for protein research, comparative genomics, and structural biology.
Allows AI to interact with Microsoft Access databases, supporting data import and export via CSV files.