vectorlane
Provides a retriever integration for LangChain, enabling semantic search over local memory within LangChain workflows.
Click on "Install 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., "@vectorlanefind what I stored about Python async"
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.
VectorLane
Searchable local memory for AI agents.
VectorLane is a local vector memory store designed for AI agents. It provides fast, offline-capable semantic search over text, documents, and data using embeddings. No cloud APIs required — everything runs on your machine.
Architecture

Documents, MemoryLane exports, and ContextLane exports flow into the Ingest pipeline. Content is chunked, embedded, and stored in the local vector store. Search returns ranked results with citations via CLI, HTTP API, or MCP server.
Related MCP server: M3 Memory
Features
Fully local — No external API calls, no data leaves your machine
Offline embeddings — Uses
local-hash(256-dim) by default, with OpenAI/HuggingFace optionsMultiple backends — JSONL (default), SQLite, in-memory
MCP integration — Native Model Context Protocol support for AI assistants
REST API — Full HTTP API on port 3090 (configurable)
CLI — Complete command-line interface for all operations
SDK — JavaScript/TypeScript and Python client libraries
Citation tracking — Automatic source attribution for search results
Multi-source ingestion — Text, URLs, files, and bulk imports
Quick Start
Install
# npm
npm install -g @talocode/vectorlane
# pip
pip install talocode-vectorlaneInitialize and Use
# Start the server
vectorlane serve
# Initialize a project
vectorlane init
# Ingest some text
vectorlane ingest-text "The quick brown fox jumps over the lazy dog."
# Search
vectorlane search "fox"Or use the SDK
import { VectorLane } from '@talocode/vectorlane';
const vl = new VectorLane();
await vl.init();
await vl.ingestText('The quick brown fox jumps over the lazy dog.');
const results = await vl.search('fox');
console.log(results);from vectorlane import VectorLane
vl = VectorLane()
vl.init()
vl.ingest_text("The quick brown fox jumps over the lazy dog.")
results = vl.search("fox")
print(results)Architecture
+-----------+ +-----------+ +-----------+
| CLI / |---->| REST API |---->| Vector |
| SDK | | :3090 | | Store |
+-----------+ +-----------+ +-----------+
| |
+------+------+ +------+------+
| Embedding | | Backend |
| Engine | | (JSONL/ |
| (local/ | | SQLite) |
| openai) | +-------------+
+-------------+Installation
See docs/INSTALL.md for detailed installation instructions.
Requirements
Node.js 18+ (for npm package)
Python 3.9+ (for pip package)
No external dependencies required for basic usage
Quick Install
# npm
npm install -g @talocode/vectorlane
# pip (Python SDK)
pip install talocode-vectorlaneCLI Reference
See docs/CLI.md for the full CLI reference.
Core Commands
Command | Description |
| Initialize a new VectorLane project |
| Start the API server |
| Search the vector store |
| Ingest a file into the store |
| Ingest raw text |
| Ingest content from a URL |
| Run diagnostics |
| Run a demo session |
Collection Commands
Command | Description |
| Create a new collection |
| List all collections |
| Show collection details |
| Show collection statistics |
| Delete a collection |
Configuration Commands
Command | Description |
| Get a config value |
| Set a config value |
| List all config values |
Import Commands
Command | Description |
| Import from MemoryLane |
| Import from ContextLane |
| Sync with MemoryLane |
| Sync with ContextLane |
SDK Reference
See docs/SDK.md for the full SDK reference.
JavaScript/TypeScript
import { VectorLane } from '@talocode/vectorlane';
const vl = new VectorLane({ port: 3090 });
// Initialize
await vl.init();
// Create a collection
await vl.collection.create('docs');
// Ingest text
await vl.ingestText('Your text content here', { collection: 'docs' });
// Ingest a URL
await vl.ingestUrl('https://example.com/article', { collection: 'docs' });
// Search
const results = await vl.search('your query', { collection: 'docs', limit: 5 });
// Get stats
const stats = await vl.collection.stats('docs');Python
from vectorlane import VectorLane
vl = VectorLane(port=3090)
# Initialize
vl.init()
# Create a collection
vl.collection.create("docs")
# Ingest text
vl.ingest_text("Your text content here", collection="docs")
# Ingest a URL
vl.ingest_url("https://example.com/article", collection="docs")
# Search
results = vl.search("your query", collection="docs", limit=5)
# Get stats
stats = vl.collection.stats("docs")REST API
See docs/API.md for the full API reference.
Quick Reference
Method | Endpoint | Description |
|
| Health check |
|
| Initialize project |
|
| Create collection |
|
| List collections |
|
| Get collection |
|
| Delete collection |
|
| Collection stats |
|
| Ingest file |
|
| Ingest text |
|
| Ingest URL |
|
| Search vectors |
|
| Import MemoryLane |
|
| Import ContextLane |
|
| Sync MemoryLane |
|
| Sync ContextLane |
|
| Run demo |
MCP Integration
See docs/MCP.md for MCP configuration.
VectorLane provides native MCP (Model Context Protocol) support. Add to your MCP config:
{
"mcpServers": {
"vectorlane": {
"command": "vectorlane",
"args": ["mcp"]
}
}
}Available MCP Tools
Tool | Description |
| Initialize VectorLane |
| Create a collection |
| List collections |
| Get collection stats |
| Ingest a file |
| Ingest text content |
| Search the vector store |
| Import from MemoryLane |
| Import from ContextLane |
| Run diagnostics |
| Run a demo |
| Clear a collection |
Vector Store
See docs/VECTOR_STORE.md for backend details.
Backend | Description | Use Case |
| JSON Lines file storage (default) | Small to medium datasets |
| SQLite database | Larger datasets, concurrent access |
| In-memory only | Testing, ephemeral data |
Embeddings
See docs/EMBEDDINGS.md for embedding options.
Model | Dimensions | Description |
| 256 | Default, fully offline, fast |
| 1536 | Requires API key, highest quality |
| 384 | Local, requires model download |
Search
See docs/SEARCH.md for search capabilities.
vectorlane search "machine learning"
vectorlane search "API docs" --collection docs --limit 10
vectorlane search "error handling" --threshold 0.7Chunking
See docs/CHUNKING.md for chunking strategies.
Fixed-size — Default, 512 tokens per chunk with 50 token overlap
Sentence — Splits on sentence boundaries
Paragraph — Splits on paragraph boundaries
Recursive — Hierarchical splitting with fallbacks
Citations
See docs/CITATIONS.md for citation tracking.
Every search result includes source attribution:
{
"id": "abc123",
"text": "The quick brown fox...",
"score": 0.95,
"citation": {
"source": "document.txt",
"page": 1,
"offset": 0,
"timestamp": "2026-07-15T10:30:00Z"
}
}Integrations
See docs/INTEGRATIONS.md for integration guides.
MemoryLane — Import and sync conversation history
ContextLane — Import and sync context documents
MCP-compatible tools — Works with Claude, Cursor, and other MCP clients
LangChain — VectorLane retriever integration
LlamaIndex — VectorLane vector store integration
Configuration
Configuration is stored in ~/.vectorlane/config.json:
{
"port": 3090,
"backend": "jsonl",
"embedding": "local-hash",
"storage_path": "~/.vectorlane/data",
"default_collection": "default",
"chunk_size": 512,
"chunk_overlap": 50
}vectorlane config get port
vectorlane config set port 3091
vectorlane config listStorage
All data is stored locally in ~/.vectorlane/:
~/.vectorlane/
config.json # Configuration
data/ # Vector store data
collections/ # Collection data
embeddings/ # Cached embeddings
logs/ # Application logsTroubleshooting
See docs/TROUBLESHOOTING.md for common issues.
Quick Fixes
Server won't start
vectorlane doctorPort in use
vectorlane config set port 3091
vectorlane serveReset everything
vectorlane clear
vectorlane initRoadmap
See docs/ROADMAP.md for the development roadmap.
v0.1.0 (Current)
Core vector store with JSONL backend
local-hash embedding model
CLI with all core commands
REST API
MCP integration
Python and JavaScript SDKs
v0.2.0
SQLite backend
OpenAI embedding support
HuggingFace embedding support
LangChain integration
v0.3.0
Hybrid search (keyword + semantic)
Multi-modal embeddings (images)
Distributed mode
Web UI dashboard
Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
MIT License - see LICENSE for details.
Support
Documentation: docs/
Issues: GitHub Issues
npm: @talocode/vectorlane
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/talocode/vectorlane'
If you have feedback or need assistance with the MCP directory API, please join our Discord server