org-mcp
CLAUDE.md4 starsChanged 15 months agoMITView on GitHub
This is a GitHub repository hosted in https://github.com/user/org-mcp/ MCP server for org-mode/roam knowledge base management in Rust. Multi-crate workspace with: Goal: Provide search, content creation, and note linking with media references for org-mode files. Development tasks are managed with just (available in nix devShell). Common commands: - just — Show all available commands - just build — Build all crates - just test — Run all tests - just dev — Development workflow (format, lint, test, coverage) - just coverage-html…
In this repositoryOne other file it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
14 rules. About 0 are common, 7 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
Run just to see all available commands with descriptions.
- Very specific: line 57
Formatting: Always use just fmt or cargo fmt before commits
- Very specific: line 58
Error handling: Prefer explicit Result<T, E> over panics
- Very specific: line 59
String formatting: Use "string {var}" over "string {}", var
- Very specific: line 61
Testing: Use assert_eq! over assert!, add #[cfg(test)] modules
- Distinctive: line 62
Functions: Keep focused and well-documented
- Very specific: line 73
Multi-crate changes: Update workspace dependencies in root Cargo.toml
- Very specific: line 74
New functionality: Add to org-core, expose via org-mcp and org-cli
- Distinctive: line 75
Error handling: Use custom error types, implement proper chaining
- Distinctive: line 77
Testing: Create fixtures for complex org-mode files
- Distinctive: line 82
File creation: NEVER create files unless absolutely necessary
- Distinctive: line 83
Commits: Always sign with -S, never include Claude Code references
- Distinctive: line 84
Code quality: Run clippy and fmt before suggesting changes
- Distinctive: line 85
Documentation: Only create when explicitly requested
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Guidelines for org-mcp
Project Context
This is a GitHub repository hosted in https://github.com/user/org-mcp/
MCP server for org-mode/roam knowledge base management in Rust. Multi-crate workspace with:
org-core— Business logic and org-mode functionalityorg-mcp— MCP protocol implementationorg-cli— CLI tool for testing and direct usage
Goal: Provide search, content creation, and note linking with media references for org-mode files.
Development Commands
cargo build— Build all cratescargo test— Run all testscargo test <test_name>— Run specific testcargo test -p <crate_name>— Test specific cratecargo clippy— Run lintercargo fmt— Format codecargo run --example <name>— Run playground examplescargo run --bin org-cli— Run CLI toolcargo run --bin org-mcp— Run MCP server
Just Commands
Development tasks are managed with just (available in nix devShell).
Common commands:
just— Show all available commandsjust build— Build all cratesjust test— Run all testsjust dev— Development workflow (format, lint, test, coverage)just coverage-html— Generate HTML coverage reportjust lint— Run clippy linterjust fmt— Format code
Coverage targets:
just coverage— Generate all coverage formatsjust coverage-html— HTML report incoverage/html/just coverage-summary— Terminal summaryjust coverage-ci— LCOV for CIjust coverage-json— JSON format
Quality checks:
just check— Run all quality checks (format check, lint, test, coverage)just fmt-check— Check code formatting without modifying
Run just to see all available commands with descriptions.
Code Style & Preferences
- Formatting: Always use
just fmtorcargo fmtbefore commits - Error handling: Prefer explicit
Result<T, E>over panics - String formatting: Use
"string {var}"over"string {}", var - Imports: Standard library before external crates
- Testing: Use
assert_eq!overassert!, add#[cfg(test)]modules - Functions: Keep focused and well-documented
Architecture
- Rust 2024 edition with async-first design using
tokio - Examples in
org-core/examples/for dependency experimentation - Test fixtures in
tests/fixtures/for org/roam files - Key deps:
orgize(parsing),walkdir(file traversal),clap(CLI)
Development Workflow
- Multi-crate changes: Update workspace dependencies in root Cargo.toml
- New functionality: Add to
org-core, expose viaorg-mcpandorg-cli - Error handling: Use custom error types, implement proper chaining
- File operations: Validate paths at construction, not runtime
- Testing: Create fixtures for complex org-mode files
Behavioral Guidelines
- Concise responses: Be direct, avoid unnecessary explanations
- File creation: NEVER create files unless absolutely necessary
- Commits: Always sign with -S, never include Claude Code references
- Code quality: Run clippy and fmt before suggesting changes
- Documentation: Only create when explicitly requested
Current Implementation Status
- ✅ Basic file listing with recursive directory traversal
- ✅ Error handling with custom types and proper chaining
- ✅ CLI tool with
listandinitcommands - ✅ MCP server with JSON-RPC protocol
- 🚧 Org-mode parsing and content extraction (planned)
- 🚧 Search functionality with metadata caching (planned)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

