org-mcp

v0.3.4
org-mcp Checked 3 days ago Published 6 days ago

A python-based MCP server for your local org mode files

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_org_files_tool

Get a list of all org files.

read_org_file

Read the content of an org file. Args: file_path: Relative path to the org file

ParameterTypeDescription
file_path *string

read_file_headings

Read and parse headings from an org file. Args: file_path: Relative path to the org file Returns: List of dictionaries containing heading information

ParameterTypeDescription
file_path *string

read_heading

Read a specific heading and its content from an org file. Args: file_path: Relative path to the org file heading_title: The title of the heading to find Returns: Dictionary with heading information or error message

ParameterTypeDescription
file_path *string
heading_title *string

search_org_files

Search for text across all org files, returning matching files and headings. Args: query: Text to search for Returns: List of matches with file path and heading information

ParameterTypeDescription
query *string

add_org_file

Create a new org file. Args: file_path: Relative path for the new org file content: Initial content for the file Returns: Status message

ParameterTypeDescription
file_path *string
contentstring

add_heading

Add a new heading to an org file. Args: file_path: Relative path to the org file title: Heading title level: Heading level (1=*, 2=**, etc.) content: Content to add under the heading todo_state: Optional TODO state (TODO, DONE, etc.) Returns: Status message

ParameterTypeDescription
file_path *string
title *string
contentstring
levelinteger
todo_state

modify_heading

Modify an existing heading in an org file. Args: file_path: Relative path to the org file heading_title: Title of the heading to modify new_title: New title for the heading (or None to keep existing) new_content: New content for the heading (or None to keep existing) new_todo_state: New TODO state (or None to keep existing) Returns: Status message

ParameterTypeDescription
file_path *string
heading_title *string
new_content
new_title
new_todo_state

get_org_agenda

Get the org agenda for today, including schedule and TODOs. Returns: Dictionary with agenda information including schedule and TODOs

get_org_todos

Get all TODO items from org files. Returns: Dictionary with TODO information

get_org_schedule

Get scheduled items and deadlines from org files. Returns: Dictionary with scheduled items