locus-mcp
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., "@locus-mcpsearch 'quantum computing' in my research space"
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.
locus-mcp
MCP server for Locus — a local semantic dataspace manager powered by Ollama.
Exposes all Locus HTTP endpoints as MCP tools so any MCP-compatible client (Claude Desktop, Cursor, etc.) can manage dataspaces, ingest documents, and run semantic search.
Requirements
Locus running locally or remotely
Node.js 18+
Related MCP server: qdrant-mcp
Installation
npm install -g @miguelaperez/locus-mcp --registry=https://npm.pkg.github.comOr run directly with npx (package is on GitHub, not the npm registry):
npx github:MiguelAPerez/locus-mcpNote:
@miguelaperez/locus-mcpis a GitHub Packages package, not published to the public npm registry. Usingnpx @miguelaperez/locus-mcp(withoutgithub:) will fail unless you've configured your npm registry. Usegithub:MiguelAPerez/locus-mcpinstead.
Configuration
Environment variable | Default | Description |
|
| Base URL of the Locus API |
MCP client setup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"locus": {
"command": "npx",
"args": ["-y", "github:MiguelAPerez/locus-mcp"],
"env": {
"LOCUS_URL": "http://localhost:8000"
}
}
}
}Cursor / other clients
{
"locus": {
"command": "npx",
"args": ["-y", "github:MiguelAPerez/locus-mcp"],
"env": {
"LOCUS_URL": "http://localhost:8000"
}
}
}mcpo (HTTP proxy)
{
"mcpServers": {
"locus": {
"command": "npx",
"args": ["-y", "github:MiguelAPerez/locus-mcp"],
"env": {
"LOCUS_URL": "http://locus:8000"
}
}
}
}Tools
Spaces
Tool | Description |
| List all dataspaces |
| Create a new dataspace |
| Delete a dataspace and all its documents |
Documents
Tool | Description |
| List all documents in a dataspace |
| Ingest text into a dataspace |
| Retrieve full text of a document by ID |
| Delete a document by ID |
Search
Tool | Description |
| Semantic search over a dataspace ( |
Settings & health
Tool | Description |
| Check if Locus is reachable |
| Get current Ollama URL and embedding model |
| Update Ollama URL and/or embedding model |
Development
npm install
npm run dev # watch mode
npm test # run tests
npm run build # compile to dist/License
MIT
This server cannot be installed
Maintenance
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/MiguelAPerez/locus-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server