loading…
Search for a command to run...
loading…
An MCP server and document upload API designed for RAG workflows with Weaviate vector databases. It enables users to search, retrieve, and manage documents acro
An MCP server and document upload API designed for RAG workflows with Weaviate vector databases. It enables users to search, retrieve, and manage documents across specialized collections like account notes, product promos, and contracts.
Weaviate MCP server and document upload API for RAG.
cp .env.example .env
# Fill in your OPENAI_API_KEY
uv sync
cd ..
OPENAI_API_KEY=sk-... docker compose up -d
uv run python server.py
uv run python api.py
# Listens on http://localhost:8001
All three collections share the same schema:
| Field | Type | Required |
|---|---|---|
title |
text | yes |
content |
text | yes (vectorized) |
source |
text | yes |
chunk_index |
int | yes |
total_chunks |
int | yes |
account_id |
text | no (filter field) |
salesforce_account_id |
text | no (filter field) |
search(query, collection, limit, alpha, account_id, salesforce_account_id)retrieve(doc_id, collection)list_documents(collection, limit, offset, account_id, salesforce_account_id)get_stats(collection) — pass "all" for totalsPOST /upload — multipart: file, collection, account_id?, salesforce_account_id?GET /documents?collection=...&account_id=... — list with optional filtersDELETE /documents/{id}?collection=... — delete a chunkGET /stats — counts per collectionДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"weaviate-mcp": {
"command": "npx",
"args": []
}
}
}