{"id":29014863,"url":"https://github.com/corani/mcp-obsidian-go","last_synced_at":"2025-08-08T18:35:47.111Z","repository":{"id":299758261,"uuid":"1004089904","full_name":"corani/mcp-obsidian-go","owner":"corani","description":"A Go implementation of an MCP (Model Context Protocol) server for Obsidian vaults. This project enables advanced AI-powered workflows and integrations with your Obsidian notes.","archived":false,"fork":false,"pushed_at":"2025-06-24T02:00:29.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-25T20:38:43.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-18T05:28:29.000Z","updated_at":"2025-06-24T02:00:32.000Z","dependencies_parsed_at":"2025-06-18T06:37:07.289Z","dependency_job_id":null,"html_url":"https://github.com/corani/mcp-obsidian-go","commit_stats":null,"previous_names":["corani/mcp-obsidian-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corani/mcp-obsidian-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fmcp-obsidian-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fmcp-obsidian-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fmcp-obsidian-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fmcp-obsidian-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corani","download_url":"https://codeload.github.com/corani/mcp-obsidian-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fmcp-obsidian-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267378149,"owners_count":24077690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-25T20:30:58.241Z","updated_at":"2025-07-27T15:34:10.267Z","avatar_url":"https://github.com/corani.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# mcp-obsidian-go 🚀\n\nA Go implementation of an **MCP (Model Context Protocol)** server for Obsidian vaults. This project enables advanced AI-powered workflows and integrations with your Obsidian notes.\n\n\u003e[!note]\n\u003e Heavily inspired by the amazing [mcp-obsidian](https://github.com/MarkusPfundstein/mcp-obsidian) (Python-based) project by Markus Pfundstein.\n\n## ✨ Features\n\n- 📂 Access and query your Obsidian vault via MCP\n- 🧠 AI-powered context and automation\n- 🔒 Secure, local-first design\n- ⚡ Fast and lightweight Go backend\n\n## 🏁 Getting Started\n\n### Prerequisites\n\n- Go 1.24+\n- An Obsidian vault\n- Obsidian [Local REST API](https://github.com/coddingtonbear/obsidian-local-rest-api) plugin\n\n### Build \u0026 Run\n\n```sh\n# Clone the repo\ngit clone https://github.com/corani/mcp-obsidian-go.git\ncd mcp-obsidian-go\n\n# Run\ngo run ./cmd/mcp-obsidian-go/\n```\n\nThe server will start and listen for MCP connections on **Stdio**. By default, it also exposes an SSE endpoint at [`http://localhost:8989/mcp`](http://localhost:8989/mcp).\n\n## 🛠️ Implemented Tools\n\nThis server implements the following MCP tools:\n\n| Tool Name                      | Description                                                                 |\n|---------------------------------|-----------------------------------------------------------------------------|\n| `calendar`                     | Returns the current date and time in the format YYYY-MM-DD HH:MM:SS.        |\n| `obsidian_list_files_in_vault` | Lists all files and directories in the root directory of your Obsidian vault.|\n| `obsidian_list_files_in_dir`   | Lists all files and directories in a specific directory of your vault.       |\n| `obsidian_get_file_contents`   | Retrieves the contents of a file in your Obsidian vault.                    |\n| `obsidian_get_file_by_name`    | Retrieves the contents of a file by its name (e.g. to resolve `[[filename]]`).|\n| `obsidian_simple_search`       | Simple search for documents matching a specified text query.                |\n| `obsidian_jsonlogic_search`    | Complex search for documents using a JsonLogic query (advanced filters/tags).|\n| `obsidian_dataview_search`     | Complex search for documents using a Dataview DQL query.                    |\n| `obsidian_get_periodic_note`   | Get current periodic note for the specified period (daily, weekly, etc).    |\n| `obsidian_get_periodic_date`   | Get the periodic note for the specified period on the given date.           |\n\n## 🗂️ Project Structure\n\n```text\ncmd/mcp-obsidian-go/                  # Main entrypoint\ncmd/mcp-obsidian-go/system-prompt.txt # System prompt for the AI\ninternal/config/                      # Configuration loading\ninternal/obsidian/                    # Obsidian integration logic\ninternal/tools/                       # MCP tool registration\n```\n\n## ⚙️ Configuration\n\nConfiguration is loaded from environment variables or a `.env` file. See `internal/config` for details.\n\n### .env Example\n\nCreate a `.env` file in the project root with the following variables:\n\n```env\nOBSIDIAN_API_HOST=\"http://localhost:27123/\"\nOBSIDIAN_API_KEY=\"\u003cyour-obsidian-api-key\u003e\"\n```\n\nThese are required for connecting to the Obsidian Local REST API plugin.\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorani%2Fmcp-obsidian-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorani%2Fmcp-obsidian-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorani%2Fmcp-obsidian-go/lists"}