Nacre
MCP server by nacre-work Verified · nacre.work
Nacre is a self-hosted knowledge index that gives AI agents search over documents, returning only what the calling user may read. It is aimed at teams that need permission-aware context under their own control.
Install Nacre
Built from the published package, never by AI.
claude mcp add nacre -e NACRE_SERVICE_KEY=YOUR_NACRE_SERVICE_KEY -- npx -y @nacre.work/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"nacre": {
"env": {
"NACRE_SERVICE_KEY": "YOUR_NACRE_SERVICE_KEY"
},
"args": [
"-y",
"@nacre.work/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"nacre": {
"env": {
"NACRE_SERVICE_KEY": "YOUR_NACRE_SERVICE_KEY"
},
"args": [
"-y",
"@nacre.work/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"nacre": {
"env": {
"NACRE_SERVICE_KEY": "YOUR_NACRE_SERVICE_KEY"
},
"args": [
"-y",
"@nacre.work/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add nacre --env NACRE_SERVICE_KEY=YOUR_NACRE_SERVICE_KEY -- npx -y @nacre.work/mcp{
"mcpServers": {
"nacre": {
"env": {
"NACRE_SERVICE_KEY": "YOUR_NACRE_SERVICE_KEY"
},
"args": [
"-y",
"@nacre.work/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add nacre npx -y @nacre.work/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the nacre block.
About
Nacre is a self-hosted knowledge index with fine-grained access control. Agents reach it over MCP, using Streamable HTTP or local STDIO, and applications use a REST API. Search returns only the documents the requesting user is allowed to read. Access filters are applied during index traversal rather than after ranking, so top_k returns k permitted results. Revoking a grant removes a document from results on the next request.
It combines dense vectors and BM25 with reciprocal rank fusion, and can use a reranker when one is configured, so exact identifiers such as invoice numbers also match. Embedding models come from any OpenAI-compatible endpoint, bound per layer. It runs with Docker Compose and does not phone home. The project is early but runs end to end. It is aimed at organizations that need a permission-aware context layer under their own control. Multi-tenancy, SSO and document-level permissions are commercial modules.
Written from the project's README and checked against it.
Tools it gives your assistant
Permission-aware searchReturns only the documents the calling user is cleared to read.Streamable HTTP transportServes MCP over Streamable HTTP per the 2026-07-28 spec.STDIO transportRuns locally over STDIO for developer agents.Service account authAgents authenticate with a service account key.Hybrid retrievalFuses dense vectors and BM25 so literal identifiers match.
What you need
- Docker and Docker Compose
- Git to clone the repository
- PostgreSQL and Qdrant, as used in the source's testing
- An OpenAI-compatible embedding endpoint, if you bring your own models
- A service account key for agent access
- Node.js, if you use the npx command line client
| Setting | Needed | What it is |
|---|---|---|
NACRE_Environment variable, secret | Required | Service-account key for STDIO mode. The server also needs the deployment's full environment (database and backend configuration) - see docs/mcp.md; the key alone is not enough to start it. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search my indexed layers for invoice number INV-2041 and show what I can read.
- Find the document that mentions SQLSTATE 23505 in our company index.
- Look up the variable name processOrderQueue in the internal docs layer.
Good to know
- Early project. The source describes it as early, and the docs run ahead of the code in places.
- Multi-tenancy, SSO, document-level permissions and deny rules are commercial and not in this build.
- Document-level grants and deny rules are refused with a 400 response in this build.
- A scanned PDF with no text layer is refused, and other binary formats are refused at the edge.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Nacre
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
Nacre: common questions
Does Nacre filter results before or after ranking?
Access filters are applied during HNSW traversal, not after ranking, so top_k returns k permitted results. The source calls this a pre-filter.
Is Nacre fully open source?
The source says the Apache 2.0 license covers everything in this repository. Tenancy, SSO, document-level grants, SIEM forwarding and other modules are commercial and live in a separate private repository.
Does Nacre send data to an outside service?
The source says it stays inside your network with Docker Compose and no phone-home. Embeddings can come from any OpenAI-compatible endpoint you configure.
How do I install Nacre?
In Claude Code run claude mcp add nacre -e NACRE_SERVICE_KEY=YOUR_NACRE_SERVICE_KEY -- npx -y @nacre.work/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Nacre the official server?
Nacre is published by nacre.work from its verified domain in the official MCP Registry.
Is Nacre free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Nacre safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Nacre?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does Nacre work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
