Metadata-Version: 2.4
Name: org-mcp
Version: 0.2.0
Summary: A python-based MCP server for your local org mode files
Author-email: Andy Reagan <andy@andyreagan.com>
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: mcp[cli]>=1.6.0
Requires-Dist: pytest>=8.3.5

# org-mcp

A python-based MCP server for your local org mode files.
Allows access to your org notes, agenda, and TODOs.

<a href="https://github.com/andyreagan/org-mcp/actions/workflows/python-test-publish.yml"><img src="https://github.com/andyreagan/org-mcp/actions/workflows/python-test-publish.yml/badge.svg" alt="Tests"></a> <a href="https://badge.fury.io/py/org-mcp"><img src="https://badge.fury.io/py/org-mcp.svg" alt="PyPI version"></a>

## Tools

- List org files
- Read file headings
- Read specific heading in file
- Read whole file
- Search for documents matching a specified text query across all files in the
  vault (including the ID link), returns matching files/headings
- Add new file
- Add new heading to existing file  
- Read agenda and TODOs from org's =M-x org-agenda n=
- Modify heading

## Example prompt

- What does my day look like today?
- What are the most important things for me to work on right now?
- Based on my long term career and personal goals, what suggestions would a
  coach give me? E.g., reprioritizing open TODOs, specific actions to take.

## Adding to Claude Desktop

In general, follow the instructions from Anthropic.

For development:

```
{
  "mcpServers": {
    "org-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "<dir_to>/org-mcp",
        "run",
        "org-mcp"
      ]
    }
  }
}
```

To use the published version

```
{
  "mcpServers": {
    "org-mcp": {
      "command": "uvx",
      "args": [
        "org-mcp"
      ],
      "env": {
        "ORG_DIR" : "<YOUR_ORG_DIR>"
      }
    }
  }
}
```
