Local Vector Store MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Local Vector Store MCP Serversearch for documents about security maturity"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Local Vector Store & MCP Server
Lightweight vector store with TF‑IDF search, a small FastAPI HTTP API, and an MCP stdio server. Ingests documents from input/html, input/md, and input/PDF and stores artifacts under data/vector_store.
Usage (Local)
Install:
pip install -r requirements.txtIngest data:
make ingest(readsinput/html,input/md, andinput/PDF)Query via CLI:
make query Q="security maturity" K=5HTTP API (after deployment below):
Health:
curl localhost:8000/healthIngest:
curl -X POST localhost:8000/ingestQuery:
curl -X POST localhost:8000/query -H 'Content-Type: application/json' -d '{"query":"security maturity","k":5}'
Vector Store Manager (interactive):
make manageExamples:
status,docs --limit 10,chunks input/PDF/example.pdf --limit 5,search "zero trust" --k 5,ingest,purge,export assets/index_backup.jsonl,help,exit
Related MCP server: MCP Server Knowledge Engine
Deployment
Docker (single container)
Build:
docker build -t local/vector-mcp:latest .Run:
docker run -p 8000:8000 -e AUTO_INGEST=1 -v "$PWD/input:/app/input" -v "$PWD/data:/app/data" local/vector-mcp:latestVisit
http://localhost:8000/healthor use curl examples above.
Docker Compose
Build images:
make docker-buildStart services:
make docker-up(HTTP server on:8000)View logs:
make docker-logsIngest inside container:
make docker-ingestQuery inside container:
make docker-query Q="your query" K=5Stop:
make docker-down
MCP Stdio Server
Local:
make mcp-stdio(runspython -m src.mcp_server)Compose service:
make mcp-stdio-up(optional background service);make mcp-stdio-downto remove.
Data Layout
Input:
input/html/**/*.html,input/md/**/*.md,input/PDF/**/*.pdfArtifacts:
data/vector_store/{vectorizer.json,index.jsonl,meta.json}
Notes
Ensure
input/contains documents before running ingest.Set
AUTO_INGEST=1to ingest on container start (Docker only).
This server cannot be deployed
Maintenance
Related MCP Connectors
The Needle MCP server enables semantic search on documents stored in files like PDFs, DOCX, and XLSX by connecting AI applications to external data sources. It provides capabilities to create and manage document collections, perform natural language searches on stored content, and retrieve relevant information without requiring exact keyword matches.
Ingest, manage, and retrieve documents for RAG-powered AI applications
Make your knowledge agent-ready. One MCP endpoint, 5 connectors, 3 search modes.
MCP server for querying Forkast documentation
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceProvides text analysis tools including TF-IDF document search and text profiling (sentiment, readability, keywords) for analyzing text corpora through structured MCP interfaces.BSD 3-Clause
- FlicenseNot gradedqualityDmaintenanceTransforms PDF collections into a searchable knowledge base using TF-IDF indexing and proximity matching. It enables users to search documents, retrieve specific page content, and manage document libraries through natural language via MCP clients.5-
- FlicenseNot gradedqualityDmaintenanceProvides tools for ingesting documents into a local vector database and retrieving relevant information via semantic search, enabling retrieval-augmented generation for MCP clients.7-
- AlicenseNot gradedqualityCmaintenanceEnables document ingestion, semantic search, and retrieval-augmented generation via MCP tools and REST API, using vector embeddings and intelligent chunking.MIT