Margins makes Claude smarter by turning your messy files into usable context. Notes, transcripts, PDFs. Claude searches, cites, compiles. Works with Obsidian or any folder. Free MCP, no API key.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add margins -- npx -y margins-mcp~/.codex/config.toml
[mcp_servers.margins]
command = "npx"
args = ["-y", "margins-mcp"]
# codex mcp add margins -- npx -y margins-mcp~/.cursor/mcp.json
{
"mcpServers": {
"margins": {
"command": "npx",
"args": [
"-y",
"margins-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"margins": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"margins-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"margins": {
"command": "npx",
"args": [
"-y",
"margins-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"margins": {
"command": "npx",
"args": [
"-y",
"margins-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"margins": {
"command": "npx",
"args": [
"-y",
"margins-mcp"
]
}
}
}