cairn-mcp-server
An MCP server that exposes Cairn's local-first file-organization tools to
Claude Code, Codex, Cursor, and any MCP client. Point it at a folder and
your agent gains file tools: list, read, search, grep, edit, move, tag, query,
digest, and retrieve — over the .uni document format and plain markdown with
YAML frontmatter.
This is the flagship, UI-less face of the product. The MCP client supplies the agent loop, the approval prompts, and the chat. Nothing of ours runs remotely; the server is a local process over your own files.
Install & run
uvx cairn-mcp-server --workspace ~/Documents/notes
To import real documents (docx/pdf/pptx/xlsx/md), install the converter extra:
uvx --with "cairn-core[convert]" cairn-mcp-server --workspace ~/Documents/notes
Use it in Claude Code
claude mcp add cairn -- uvx cairn-mcp-server --workspace ~/Documents/notes
Or in any MCP client config:
{
"mcpServers": {
"cairn": {
"command": "uvx",
"args": ["cairn-mcp-server", "--workspace", "~/Documents/notes"]
}
}
}
Tools
| Tool | Kind | Purpose |
|---|---|---|
list_dir, get_file_tree, read_detail |
read-only | inspect the workspace |
search_files, grep, semantic_retrieve |
read-only | find things |
find_by_meta, digest_workspace |
read-only | exact metadata queries; a token-efficient workspace map |
get_file_tags, get_tag_tree, list_templates |
read-only | inspect tags; list document templates |
create_file, create_folder, update_file_tags |
write | add content (create_file supports template/fields) |
import_document, import_folder |
write | convert docx/pdf/pptx/csv/xlsx/md → editable .uni |
multi_edit, rename_item, move_item, delete_item |
destructive | change/relocate (client confirms) |
Read-only tools carry readOnlyHint; destructive tools carry destructiveHint,
so clients like Claude Code run reads freely and prompt before destructive edits.
Also exposes workspace://tree and workspace://tags resources, and
organize / tag_all prompts (slash-commands in the client).
Metadata
Release files for cairn-mcp-server 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cairn_mcp_server-0.3.1.tar.gz | 74.6 kB | Without provenance | Details for cairn_mcp_server-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cairn_mcp_server-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for cairn_mcp_server-0.3.1-py3-none-any.whl |
Total release size: 86.4 kB
Release files / cairn_mcp_server-0.3.1.tar.gz
| Download URL | cairn_mcp_server-0.3.1.tar.gz |
|---|---|
| Size | 74.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d763774330545d3e7639f61595dbd3eb63b978bd20f0b1840e4ec60468894e4
|
|
BLAKE2b-256 checksum How to use checksums |
ed15af4b7c925a5878ba038d927e3017d7422ad7b86aafdc1cb7d7ae866943d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / cairn_mcp_server-0.3.1-py3-none-any.whl
| Download URL | cairn_mcp_server-0.3.1-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f17ccfad8319d807e5549cbcbb5f9adafbc909e5832f67ceb71b834d3f395535
|
|
BLAKE2b-256 checksum How to use checksums |
b82ce4c3fa914fc75ec854a19de6315caf2538988d765d28de77bf2e25e146f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for cairn-mcp-server 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.