# Lochless

> Lochless is a freemium MCP server for knowledge and memory. Search a document set and return every relevant match with quotes. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web, self-hosted
- **Website:** https://lochless.io
- **MCP Registry name:** io.lochless/lochless
- **Categories:** knowledge and memory, AI models and LLM tooling
- **Listing updated:** 2026-11-16

## About

Lochless takes a different route from top-k retrieval. It reads the documents in scope, up to a spending limit you set, and returns each one it judges relevant as a quote with your own document id and metadata. There is no chunking code, embedding pipeline or vector database to run.

The MCP server exposes search_documents, browse_documents, read_document and ask_documents, with OAuth sign-in or the same API key as the REST calls (ingest, context, ask). A free demo endpoint serves 20 public US founding documents so you can try it without an account. Browsing and reading are free; searching and asking are billed by text scanned.

Published prices include $0.005 per page indexed and $0.05 per /ask answer, and new workspaces get $5 of credit without a card. The vendor's own benchmark reports slightly lower F1 than three data platforms on yes/no classification, at a lower price per million tokens, and says so openly.

## Features

- **Exhaustive retrieval:** Returns every relevant document in scope rather than a fixed top results list.
- **Cited answers:** The ask call writes a short answer that cites its evidence inline.
- **Read limits and dry runs:** A dollar read limit and a free dry run show coverage and cost first.
- **Metadata and date filters:** Narrow queries by time range or exact-match metadata.
- **Self-hosting option:** Teams can run it in their own AWS or GCP account on an annual plan.

## Good for

- Find every support ticket that mentions refunds in a month
- Pull all clauses on a topic from a set of contracts
- Give an agent a searchable archive without running a vector database
- Ask a cited question across transcripts or logs

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http lochless https://api.lochless.io/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api.lochless.io/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "lochless": {
      "url": "https://api.lochless.io/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "lochless": {
      "type": "http",
      "url": "https://api.lochless.io/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "lochless": {
      "serverUrl": "https://api.lochless.io/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "lochless": {
      "type": "http",
      "url": "https://api.lochless.io/mcp"
    }
  }
}
```

## Tools

- `search_documents`: Searches documents and returns relevant quotes.
- `browse_documents`: Browses indexed documents.
- `read_document`: Reads a document.
- `ask_documents`: Answers a question with citations.

## FAQ

### How is it priced?

Indexing is $0.005 per page, /ask is $0.05 per answer, and queries pay for text scanned.

### Can I try it first?

Yes, new workspaces get $5 free credit with no card, and a demo MCP endpoint uses public documents.

### Which MCP tools exist?

search_documents, browse_documents, read_document and ask_documents.

### Is Lochless free?

Lochless has a free plan, with paid plans for more usage or features.

### How do I add Lochless to Claude Code?

Run this command in your terminal: claude mcp add --transport http lochless https://api.lochless.io/mcp

### What are the best alternatives to Lochless?

The closest alternatives to Lochless are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Tulsa Ecosystem Map](https://ai-powered.com/mcp/tulsa-ecosystem-map): Tulsa Ecosystem Map is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/lochless
