Vearch integration
Vearch is a self-hosted distributed vector database. This integration covers the router HTTP API: create, list, inspect and delete databases, create, list, inspect and delete spaces with their vector and scalar field schemas and index parameters, upsert documents, delete documents by id or filter, run approximate nearest-neighbour vector search with filters and field selection, query documents by id or filter, and read cluster health, cluster statistics, server members and partition placement. Alias, user, role, index-maintenance and backup routes are not included. Every response carries the same envelope: a result code, a message and a data payload. The host is part of the credential because every Vearch install is its own deployment; the router listens on port 9001 by default. Authentication is the HTTP basic user name and password the router enforces.
Say what should happen.
The workflow builds itself.
Common Vearch use cases
- removing documents that are no longer indexed
- clearing the rows a filter matches
What you can do with Vearch
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Db, 4 operations
create_databaseCreate databasePOSTAgents: ask firstCreate a new database.delete_databaseDelete databaseDELETEAgents: ask firstDelete a specific database.get_databaseGet databaseGETAgents: ask firstGet database.list_databasesList databasesGETAgents: ask firstList database.
Space, 4 operations
create_spaceCreate spacePOSTAgents: ask firstCreate a new space.delete_spaceDelete spaceDELETEAgents: ask firstDelete a specific space.get_spaceGet spaceGETAgents: ask firstGet a specific space.list_spacesList spacesGETAgents: ask firstList vearch space.
Document, 1 operation
delete_documentsDelete documentsPOSTAgents: ask firstDeletes documents from a Vearch space, addressed by id or selected by filter.
Health, 1 operation
get_cluster_healthGet cluster healthGETAgents: ask firstShow cluster health.
Partition, 1 operation
list_partitionsList partitionsGETAgents: ask firstList partitions.
Query, 1 operation
query_documentsQuery documentsPOSTAgents: ask firstQuery for documents using doc ID and filter parameters.
Search, 1 operation
search_documentsSearch documentsPOSTAgents: ask firstSearch for documents using vector and filter parameters.
Server, 1 operation
list_serversList serversGETAgents: ask firstList cluster server.
Stat, 1 operation
get_cluster_statsGet cluster statsGETAgents: ask firstShow cluster status.
Upsert, 1 operation
upsert_documentsUpsert documentsPOSTAgents: ask firstUpsert document into database.
Use Vearch from Claude Code, Cursor or Codex
Connect Vearch in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Vearch operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Vearch
- Create your workspace
Sign up free. Nothing to install.
- Connect Vearch once
Add your Vearch connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Vearch integration FAQ
What can you do with the Vearch integration?
LiveContext exposes 16 operations on Vearch, covering db, space, document and health. Common uses include removing documents that are no longer indexed and clearing the rows a filter matches.
