markdown-notes-mcp

v0.1.4
io.github.Narashiman-K/markdown-notes-mcp Checked 5 hours ago Published 2 months ago

Convert PDF, Word, Excel, PowerPoint, EPUB and images to Markdown locally, with no upload.

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

convert_to_markdown

Convert a document on this machine to clean Markdown. Handles PDF, Word (.docx), Excel (.xlsx/.xls/.xlsm), PowerPoint (.pptx), OpenDocument text and spreadsheets (.odt/.ods), EPUB, CSV/TSV and plain text. Images are read with OCR, and audio is transcribed. Conversion happens locally and the file is not uploaded, except for the image and audio cases noted in ocr_mode. Prefer this over reading a binary file directly. The Markdown is SAVED AUTOMATICALLY beside the original, keeping the full original filename plus .md — report.pdf becomes report.pdf.md — so it is always clear which file it ca…

ParameterTypeDescription
path *stringAbsolute path to the file to convert.
ocr_modestringFor images only. "offline" (default) runs on this machine and uploads nothing. "cloud" sends the image to Google Gemini, which is more accurate and can describe charts, and requires GEMINI_API_KEY.
overwritebooleanSet true to replace an existing .md of the same name. Default false, in which case a numbered name is used instead so nothing is destroyed.
return_contentstring"auto" (default) returns the whole document if it is short, otherwise a preview and the saved path. "full" always returns everything — use only when the user genuinely needs the entire text in the c…
savebooleanSet false to skip writing the .md file. Default true — the file is saved beside the original without needing to be asked for.
save_tostringAbsolute path to write the .md to, overriding the default of beside the original.

convert_folder_to_markdown

Convert several documents at once and return a summary of what succeeded. Use when the user points at a set of files rather than one.

ParameterTypeDescription
output_directory *stringAbsolute directory to write each .md file into.
paths *arrayAbsolute paths of the files to convert.

save_summary

Save a summary you have written about a document, as a .md file beside it. Call this WITHOUT being asked whenever you summarise, outline or answer a broad question about a document you converted — the user wants the summary kept, not just shown once in the chat. Do not call it for narrow factual lookups, and never invent a summary in order to save one: pass the text you actually produced.

ParameterTypeDescription
source_path *stringAbsolute path of the document being summarised — either the original file or the converted .md. The summary is written beside it.
summary *stringThe summary, as Markdown. Headings and lists are fine.
titlestringOptional heading for the summary. Defaults to the document name.

list_supported_formats

List the file extensions this server can convert, and report which optional cloud features are configured. Call this if a conversion fails as unsupported.