local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
DuckDB RAG MCP Sample
This is a sample that embeds and vectorizes a markdown document so that it can be explained using MCP and RAG.
We use Plamo-Embedding-1B for vectorization.
function
- Extract and vectorize text from markdown files
- Vector Searching with DuckDB
- Persisting vector data with Parquet files
- Vector search from MCP
How to use
Vector data generation
First, place the markdown files you want to search in a specific directory, then convert them to Parquet files with the following command.
Copy
Configuring MCP
Build
The following command will generate a single binary in dist/server
.
Copy
MCP Client Configuration
Please set it according to the client you want to use.
For Claude Desktop it looks like this:
For VECTOR_PARQUET, specify the file you just converted.
Copy
It is set as follows:
Copy
Start the development server
Copy
license
The DuckDB RAG MCP Sample is provided under the Apache License, Version 2.0.