[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72248":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":9,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},72248,"mcp-obsidian","MarkusPfundstein\u002Fmcp-obsidian","MarkusPfundstein","MCP server that interacts with Obsidian via the Obsidian rest API community plugin",null,"Python",3882,459,18,61,0,23,66,227,69,29.99,"MIT License",false,"main",true,[],"2026-06-12 02:03:00","# MCP server for Obsidian\n\nMCP server to interact with Obsidian via the Local REST API community plugin.\n\n\u003Ca href=\"https:\u002F\u002Fglama.ai\u002Fmcp\u002Fservers\u002F3wko1bhuek\">\u003Cimg width=\"380\" height=\"200\" src=\"https:\u002F\u002Fglama.ai\u002Fmcp\u002Fservers\u002F3wko1bhuek\u002Fbadge\" alt=\"server for Obsidian MCP server\" \u002F>\u003C\u002Fa>\n\n## Components\n\n### Tools\n\nThe server implements multiple tools to interact with Obsidian:\n\n- list_files_in_vault: Lists all files and directories in the root directory of your Obsidian vault\n- list_files_in_dir: Lists all files and directories in a specific Obsidian directory\n- get_file_contents: Return the content of a single file in your vault.\n- search: Search for documents matching a specified text query across all files in the vault\n- patch_content: Insert content into an existing note relative to a heading, block reference, or frontmatter field.\n- append_content: Append content to a new or existing file in the vault.\n- delete_file: Delete a file or directory from your vault.\n\n### Example prompts\n\nIts good to first instruct Claude to use Obsidian. Then it will always call the tool.\n\nThe use prompts like this:\n- Get the contents of the last architecture call note and summarize them\n- Search for all files where Azure CosmosDb is mentioned and quickly explain to me the context in which it is mentioned\n- Summarize the last meeting notes and put them into a new note 'summary meeting.md'. Add an introduction so that I can send it via email.\n\n## Configuration\n\n### Obsidian REST API Key\n\nThere are two ways to configure the environment with the Obsidian REST API Key. \n\n1. Add to server config (preferred)\n\n```json\n{\n  \"mcp-obsidian\": {\n    \"command\": \"uvx\",\n    \"args\": [\n      \"mcp-obsidian\"\n    ],\n    \"env\": {\n      \"OBSIDIAN_API_KEY\": \"\u003Cyour_api_key_here>\",\n      \"OBSIDIAN_HOST\": \"\u003Cyour_obsidian_host>\",\n      \"OBSIDIAN_PORT\": \"\u003Cyour_obsidian_port>\"\n    }\n  }\n}\n```\nSometimes Claude has issues detecting the location of uv \u002F uvx. You can use `which uvx` to find and paste the full path in above config in such cases.\n\n2. Create a `.env` file in the working directory with the following required variables:\n\n```\nOBSIDIAN_API_KEY=your_api_key_here\nOBSIDIAN_HOST=your_obsidian_host\nOBSIDIAN_PORT=your_obsidian_port\n```\n\nNote:\n- You can find the API key in the Obsidian plugin config\n- Default port is 27124 if not specified\n- Default host is 127.0.0.1 if not specified\n\n## Quickstart\n\n### Install\n\n#### Obsidian REST API\n\nYou need the Obsidian REST API community plugin running: https:\u002F\u002Fgithub.com\u002Fcoddingtonbear\u002Fobsidian-local-rest-api\n\nInstall and enable it in the settings and copy the api key.\n\n#### Claude Desktop\n\nOn MacOS: `~\u002FLibrary\u002FApplication\\ Support\u002FClaude\u002Fclaude_desktop_config.json`\n\nOn Windows: `%APPDATA%\u002FClaude\u002Fclaude_desktop_config.json`\n\n\u003Cdetails>\n  \u003Csummary>Development\u002FUnpublished Servers Configuration\u003C\u002Fsummary>\n  \n```json\n{\n  \"mcpServers\": {\n    \"mcp-obsidian\": {\n      \"command\": \"uv\",\n      \"args\": [\n        \"--directory\",\n        \"\u003Cdir_to>\u002Fmcp-obsidian\",\n        \"run\",\n        \"mcp-obsidian\"\n      ],\n      \"env\": {\n        \"OBSIDIAN_API_KEY\": \"\u003Cyour_api_key_here>\",\n        \"OBSIDIAN_HOST\": \"\u003Cyour_obsidian_host>\",\n        \"OBSIDIAN_PORT\": \"\u003Cyour_obsidian_port>\"\n      }\n    }\n  }\n}\n```\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n  \u003Csummary>Published Servers Configuration\u003C\u002Fsummary>\n  \n```json\n{\n  \"mcpServers\": {\n    \"mcp-obsidian\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"mcp-obsidian\"\n      ],\n      \"env\": {\n        \"OBSIDIAN_API_KEY\": \"\u003CYOUR_OBSIDIAN_API_KEY>\",\n        \"OBSIDIAN_HOST\": \"\u003Cyour_obsidian_host>\",\n        \"OBSIDIAN_PORT\": \"\u003Cyour_obsidian_port>\"\n      }\n    }\n  }\n}\n```\n\u003C\u002Fdetails>\n\n## Development\n\n### Building\n\nTo prepare the package for distribution:\n\n1. Sync dependencies and update lockfile:\n```bash\nuv sync\n```\n\n### Debugging\n\nSince MCP servers run over stdio, debugging can be challenging. For the best debugging\nexperience, we strongly recommend using the [MCP Inspector](https:\u002F\u002Fgithub.com\u002Fmodelcontextprotocol\u002Finspector).\n\nYou can launch the MCP Inspector via [`npm`](https:\u002F\u002Fdocs.npmjs.com\u002Fdownloading-and-installing-node-js-and-npm) with this command:\n\n```bash\nnpx @modelcontextprotocol\u002Finspector uv --directory \u002Fpath\u002Fto\u002Fmcp-obsidian run mcp-obsidian\n```\n\nUpon launching, the Inspector will display a URL that you can access in your browser to begin debugging.\n\nYou can also watch the server logs with this command:\n\n```bash\ntail -n 20 -f ~\u002FLibrary\u002FLogs\u002FClaude\u002Fmcp-server-mcp-obsidian.log\n```\n","该项目是一个MCP服务器，通过Obsidian的本地REST API社区插件与Obsidian笔记软件进行交互。核心功能包括列出文件、读取文件内容、搜索文档、修改和删除文件等，支持用户对Obsidian知识库中的文件进行高效管理与操作。技术上采用Python开发，并提供了详细的配置说明以帮助用户快速上手。适用于需要自动化处理或增强Obsidian使用体验的场景，如定期归档笔记、跨文件查找特定信息等任务。",2,"2026-06-11 03:41:02","high_star"]