Saltar al contenido
Skillpedia
● Gratis y de código abierto💻 Local🔑 Necesita clave de APITrabajo y productividad

Obsidian MCP Server

Permite que tu agente de IA lea, escriba, busque y edite notas, etiquetas y frontmatter en tu bóveda de Obsidian.

702 estrellas en GitHubpor cyanheadsLicencia Apache-2.0Actualizado hace 23 días

Cómo instalar

Este MCP es local: se ejecuta en tu computadora.

Funciona en las apps instaladas en tu PC (Claude Desktop, Claude Code, Cursor, VS Code…). Elige tu app:

Pega en la terminal:

claude mcp add obsidian -e OBSIDIAN_API_KEY="<tu valor>" -- npx -y obsidian-mcp-server

Qué completar

NombreQué esObligatorio
OBSIDIAN_API_KEYBearer token for the Obsidian Local REST API plugin (Settings → Community Plugins → Local REST API).Sí
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).No
OBSIDIAN_VERIFY_SSLWhether to verify the TLS certificate on the Obsidian endpoint. Default false because the plugin uses a self-signed cert.No
OBSIDIAN_REQUEST_TIMEOUT_MSPer-request timeout in milliseconds.No
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.No
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/'.No
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/'.No
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/'.No
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.No
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.No
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.No
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').No

¡Listo! Ahora pruébalo

Reinicia la app y pega uno de estos pedidos en el chat:

Añade las tareas de hoy bajo el encabezado Tasks de mi nota diaria.
Enumera mis etiquetas más usadas.

Qué es

Este servidor conecta tu agente con tu bóveda de Obsidian a través del plugin Local REST API. El agente puede leer y buscar notas, crear o editar notas, cambiar en su lugar un encabezado, un bloque o un campo de frontmatter, y gestionar etiquetas. Puedes limitar qué carpetas puede leer o escribir.

Qué puede hacer

  • obsidian_get_note: lee una nota
  • obsidian_search_notes: busca por texto, JSONLogic u Omnisearch
  • obsidian_write_note: crea o reemplaza una nota o una sección
  • obsidian_append_to_note y obsidian_patch_note: añaden contenido a un encabezado o campo
  • obsidian_replace_in_note: busca y reemplaza dentro de una nota
  • obsidian_manage_frontmatter y obsidian_manage_tags: editan el frontmatter y las etiquetas
  • obsidian_list_notes y obsidian_list_tags: exploran la bóveda

Cuándo usarlo

  • ›Cuando quieres que un agente añada notas de reunión bajo el encabezado correcto.
  • ›Cuando quieres etiquetar o buscar muchas notas a la vez.
  • ›Cuando quieres actualizar una nota diaria o periódica.

Qué necesitas

Obsidian con el plugin Local REST API y su clave de API (OBSIDIAN_API_KEY). Se ejecuta con npx o Docker.

Skills que combinan

⭐ MCP de Skillpedia · gratisTu agente encuentra la skill correcta soloInstala nuestro MCP y tu agente buscará entre 15.000+ skills cuando la necesite.Instalar gratis →

Preguntas frecuentes

¿Es gratis y de código abierto?

Tiene un archivo de licencia en el repositorio y no indica precio.

¿Qué plugin necesita?

El plugin Local REST API de Obsidian.

¿Puedo limitar a qué puede acceder?

Sí. OBSIDIAN_READ_PATHS, OBSIDIAN_WRITE_PATHS, OBSIDIAN_DENY_PATHS y OBSIDIAN_READ_ONLY definen los límites.

¿Puede borrar notas?

Sí, y por defecto sin confirmación. Configura OBSIDIAN_DELETE_ELICITATION=true para exigir tu confirmación.

¿Puede ejecutar comandos de Obsidian?

Solo si activas OBSIDIAN_ENABLE_COMMANDS.

¿Qué transportes soporta?

STDIO o Streamable HTTP.

Si no funciona

  • ›Revisa que Obsidian esté abierto y que el plugin Local REST API esté activado.
  • ›Revisa que OBSIDIAN_API_KEY coincida con la clave de la configuración del plugin.
  • ›Lee el recurso obsidian://status para comprobar si el plugin responde y si la autenticación funciona.

5 skills nuevas por semana. 1 minuto de lectura.