Md Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Md Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Transform from Prompt Engineering to Context Engineering.
A lightweight Python library that instantly exposes your local markdown documentation, notes, and knowledge bases to any AI tool that supports the Model Context Protocol (MCP) – including Claude Desktop.
No embeddings, no preprocessing, and no uploading. Your files stay safely on your local machine, and any real-time updates are instantly reflected in your AI's context.


#### Option A: Install from pypi
pip install md-mcp#### Option B: Install from source code
pip install -e .The easiest way to manage your markdown servers is through the visual dashboard:
md-mcp --webIf the command is not recognized (e.g., if the Python scripts directory is not in your system PATH), you can run:
python -m md_mcp --webJust point at a folder and go!
If you prefer the command line:
# Expose a folder of markdown files
md-mcp --folder ~/Documents/notes --name "My Notes"
# That's it! Restart Claude Desktop and it's available.rescan_folder() tool in Claude Desktop for manual refresh if needed..md files.1. Personal Knowledge Base
md-mcp --folder ~/obsidian-vault --name "Obsidian"→ Claude can now read your entire Obsidian vault
2. Project Documentation
md-mcp --folder ~/code/myproject/docs --name "Project Docs"→ Claude has full context on your project
3. Research Papers
md-mcp --folder ~/research/papers-md --name "Research"→ Claude can reference your research notes
# Direct command (if in PATH)
md-mcp --web
# Or via Python module
python -m md_mcp --web
# You can optionally specify a custom port (default is 5000)
md-mcp --web --port 8080
# or: python -m md_mcp --web --port 8080# With explicit name
md-mcp --folder /path/to/docs --name "My Docs"
# Auto-name from folder
md-mcp --folder ~/notes
# Creates server named "notes"
# Alias: --add
md-mcp --add ~/work-docs --name "Work"md-mcp --folder ~/notes --scan
# Shows what files would be exposedmd-mcp --list
# Shows all md-mcp serversmd-mcp --status
# Shows Claude config path and all serversmd-mcp --remove "My Docs"md-mcp
# Prompts for folder path md-mcp --folder ~/notes --name "Notes".md filesEach markdown file becomes an MCP Resource:
{
"uri": "md://notes/project-plan.md",
"name": "Project Plan",
"description": "Auto-extracted from frontmatter or first paragraph",
"mimeType": "text/markdown"
}md-mcp provides three tools to Claude:
search_markdownSearch across all markdown files by content or filename.
Usage in Claude:
⚠️ Experimental features below: (may not work)
(Note: Semantic and hybrid search require `pip install md-mcp[semantic]`)
list_filesList all available markdown files.
Usage in Claude:
"What markdown files do I have about Python?"
rescan_folderManually rescan the folder for new, modified, or deleted markdown files. Use this if the automatic file watcher is not available or if files are missing.
Usage in Claude:
"Rescan the markdown folder to find my new notes"
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
Windows: %USERPROFILE%\.gemini\antigravity\mcp_config.json
Add your config and run Developer: Reload Window from the Command Palette (Ctrl+Shift+P).
{
"mcpServers": {
"my-notes": {
"command": "C:\\Python\\python.exe",
"args": [
"-m", "md_mcp.server_runner",
"--folder", "C:\\Users\\Yang\\notes",
"--name", "my-notes"
]
}
}
}For workspace-level tools, use a file at .vscode/mcp.json. See official VS Code MCP documentation.
[!IMPORTANT] For workspace configs, the top-level key is"servers", not"mcpServers".
Example .vscode/mcp.json:
{
"servers": {
"my-notes": {
"command": "C:\\Python\\python.exe",
"args": [
"-m", "md_mcp.server_runner",
"--folder", "C:\\Users\\Yang\\notes",
"--name", "my-notes"
]
}
}
}#### Sample Prompts to Test
Once configured, try these prompts with your AI assistant:

from md_mcp.scanner import MarkdownScanner
scanner = MarkdownScanner("~/notes")
files = scanner.scan()
for f in files:
print(f"{f.name}: {f.description}")# Run server directly (stdio mode)
python -m md_mcp.server_runner --folder ~/notes --name test
# Server listens on stdin/stdout for MCP protocolmd-mcp extracts metadata from YAML frontmatter:
---
title: My Document
description: A brief overview of the document
tags: [project, planning]
---
# Content starts hereExtracted fields:
description → Used as resource descriptionfrontmatter dictIf no frontmatter, first paragraph is used as description.
md-mcp --status # Windows
type %APPDATA%\Claude\claude_desktop_config.json
# Mac/Linux
cat ~/.config/Claude/claude_desktop_config.json# Check what scanner finds
md-mcp --folder ~/notes --scanMake sure the folder is readable:
# Check permissions
ls -la ~/notes┌─────────────────┐
│ Claude Desktop │
│ (MCP Client) │
└────────┬────────┘
│ stdio (JSON-RPC)
│
┌────────▼────────┐
│ md-mcp Server │
│ (MCP Protocol) │
└────────┬────────┘
│
┌────────▼────────┐
│ MarkdownScanner │
│ (File Reader) │
└────────┬────────┘
│
┌─────▼──────┐
│ Filesystem │
│ (*.md) │
└────────────┘| Feature | md-mcp | Manual MCP Server | File Upload |
|---|---|---|---|
| Setup Time | 30 seconds | Hours | Per-session |
| Auto-Updates | ✅ | ❌ | ❌ |
| Full Folder | ✅ | ✅ | ❌ |
| Search | ✅ | Custom | ❌ |
| One Command | ✅ | ❌ | ❌ |
git clone https://github.com/ly2xxx/md-mcp.git
cd md-mcp
pip install -e ".[dev]"pytestblack md_mcp/This project is licensed under the MIT License - see the LICENSE file for details.
Inspired by:
Issues: https://github.com/ly2xxx/md-mcp/issues
Built by: Yang Li Date: 2026-02-16
🚀 Just point at a folder and go! 
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.