मुख्य सामग्री पर जाएँ
Skillpedia
● मुफ़्त और ओपन सोर्स💻 लोकल🔑 API कुंजी चाहिएकाम और प्रोडक्टिविटी

Obsidian MCP Server

आपका AI एजेंट आपके Obsidian vault में नोट्स, tags और frontmatter पढ़, लिख, खोज और संपादित कर सकता है।

702 GitHub स्टारद्वारा cyanheadsलाइसेंस Apache-2.0अपडेट 23 दिन पहले

कैसे इंस्टॉल करें

यह MCP लोकल है: आपके कंप्यूटर पर चलता है।

यह PC पर लगे ऐप्स में काम करता है (Claude Desktop, Claude Code, Cursor, VS Code…)। अपना ऐप चुनें:

टर्मिनल में पेस्ट करें:

claude mcp add obsidian -e OBSIDIAN_API_KEY="<आपका मान>" -- npx -y obsidian-mcp-server

क्या भरना है

नामयह क्या हैज़रूरी
OBSIDIAN_API_KEYBearer token for the Obsidian Local REST API plugin (Settings → Community Plugins → Local REST API).हाँ
OBSIDIAN_BASE_URLBase URL of the Obsidian Local REST API. Default: http://127.0.0.1:27123 (enable "Non-encrypted (HTTP) Server" in plugin settings). Use https://127.0.0.1:27124 for the always-on HTTPS port (self-signed cert; pair with OBSIDIAN_VERIFY_SSL=false).नहीं
OBSIDIAN_VERIFY_SSLWhether to verify the TLS certificate on the Obsidian endpoint. Default false because the plugin uses a self-signed cert.नहीं
OBSIDIAN_REQUEST_TIMEOUT_MSPer-request timeout in milliseconds.नहीं
OBSIDIAN_ENABLE_COMMANDSOpt-in flag for the command-palette pair (obsidian_list_commands + obsidian_execute_command). Off by default — Obsidian commands are opaque and can be destructive.नहीं
OBSIDIAN_READ_PATHSOptional comma-separated vault-relative folder allowlist for reads. Prefix-based with implicit recursion; case-insensitive; backslashes read as slashes, repeated and trailing slashes and '.' segments dropped, and names normalized to Unicode NFC; an entry naming the vault root ('.') is rejected at startup. Unset = full vault. Write paths are implicitly readable. Example: 'public/,projects/'.नहीं
OBSIDIAN_WRITE_PATHSOptional comma-separated vault-relative folder allowlist for writes. Same syntax as OBSIDIAN_READ_PATHS. Unset = full vault, or the read scope when reads are restricted; paths in OBSIDIAN_DENY_PATHS stay denied. Example: 'projects/,scratch/'.नहीं
OBSIDIAN_DENY_PATHSOptional comma-separated vault-relative paths withheld from reads and writes. Same syntax as OBSIDIAN_READ_PATHS. Wins over both allowlists; denied paths are left out of listings, search results, and tag counts. Unset = nothing denied. Example: 'private/,journal/therapy/'.नहीं
OBSIDIAN_READ_ONLYGlobal read-only kill switch. When true, every write is denied regardless of OBSIDIAN_WRITE_PATHS, and the command-palette pair is suppressed (commands can mutate). Useful for shared or public-facing deployments.नहीं
OBSIDIAN_DELETE_ELICITATIONOpt-in delete confirmation. When true, obsidian_delete_note asks the user to confirm each delete through an elicitation round (the client must support elicitation), and HTTP startup requires a stateful session unless OBSIDIAN_READ_ONLY=true disables the tool. Off by default — the delete runs on the first call, bounded by OBSIDIAN_WRITE_PATHS and OBSIDIAN_READ_ONLY.नहीं
OBSIDIAN_OMNISEARCH_URLOverride URL for the Omnisearch plugin HTTP server. Unset derives from OBSIDIAN_BASE_URL host with port 51361. Required only if the Omnisearch plugin is not on the default port.नहीं
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').नहीं

तैयार! अब टेस्ट करें

ऐप दोबारा खोलें और इनमें से कोई एक अनुरोध चैट में पेस्ट करें:

आज के action items मेरे daily नोट के Tasks heading के नीचे जोड़ो।
मेरे सबसे ज़्यादा इस्तेमाल होने वाले tags की सूची दो।

यह क्या है

यह सर्वर Obsidian Local REST API प्लगिन के ज़रिए आपके Obsidian vault से एजेंट को जोड़ता है। एजेंट नोट्स पढ़ और खोज सकता है, बना या संपादित कर सकता है, और किसी heading, block या frontmatter फ़ील्ड को उसी जगह बदल सकता है। यह tags भी संभालता है। आप सीमित कर सकते हैं कि वह कौन से फ़ोल्डर पढ़े या लिखे।

यह क्या कर सकता है

  • obsidian_get_note: नोट पढ़ें
  • obsidian_search_notes: टेक्स्ट, JSONLogic या Omnisearch से खोजें
  • obsidian_write_note: नोट या एक सेक्शन बनाएँ या बदलें
  • obsidian_append_to_note और obsidian_patch_note: किसी heading या फ़ील्ड में सामग्री जोड़ें
  • obsidian_replace_in_note: नोट के अंदर खोजें और बदलें
  • obsidian_manage_frontmatter और obsidian_manage_tags: frontmatter और tags संपादित करें
  • obsidian_list_notes और obsidian_list_tags: vault ब्राउज़ करें

कब इस्तेमाल करें

  • ›जब आप चाहते हैं कि एजेंट मीटिंग नोट्स सही heading के नीचे जोड़े।
  • ›जब आप कई नोट्स को एक साथ tag या खोजना चाहते हैं।
  • ›जब आप daily या periodic नोट अपडेट करवाना चाहते हैं।

आपको क्या चाहिए

Obsidian Local REST API प्लगिन और उसकी API key (OBSIDIAN_API_KEY)। npx या Docker से चलाएँ।

साथ में जमने वाली skills

⭐ Skillpedia MCP · मुफ़्तआपका एजेंट सही skill अपने आप ढूँढ लेता हैहमारा MCP इंस्टॉल करें और ज़रूरत पड़ने पर आपका एजेंट 15,000+ skills में खोजेगा।मुफ़्त इंस्टॉल करें →

अक्सर पूछे जाने वाले सवाल

क्या यह मुफ़्त और open source है?

रिपॉज़िटरी में लाइसेंस फ़ाइल है और कोई कीमत नहीं लिखी गई है।

इसे कौन सा प्लगिन चाहिए?

Obsidian Local REST API प्लगिन।

क्या मैं सीमित कर सकता हूँ कि यह क्या छू सकता है?

हाँ। OBSIDIAN_READ_PATHS, OBSIDIAN_WRITE_PATHS, OBSIDIAN_DENY_PATHS और OBSIDIAN_READ_ONLY सीमाएँ तय करते हैं।

क्या यह नोट हटा सकता है?

हाँ, और डिफ़ॉल्ट रूप से बिना पुष्टि के। आपकी पुष्टि ज़रूरी करने के लिए OBSIDIAN_DELETE_ELICITATION=true सेट करें।

क्या यह Obsidian कमांड चला सकता है?

केवल तब जब आप OBSIDIAN_ENABLE_COMMANDS चालू करें।

कौन से transports समर्थित हैं?

STDIO या Streamable HTTP।

अगर काम न करे

  • ›जाँचें कि Obsidian खुला है और Local REST API प्लगिन चालू है।
  • ›जाँचें कि OBSIDIAN_API_KEY प्लगिन सेटिंग की key से मेल खाता है।
  • ›प्लगिन की पहुँच और authentication जाँचने के लिए obsidian://status संसाधन पढ़ें।

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।