mcp-obsidian-local
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-obsidian-local
Servidor MCP local em stdio para acessar o plugin obsidian-local-rest-api.
Agora ele tambem suporta indice semantico local com Ollama, sem custo recorrente.
Variaveis de ambiente
setx OBSIDIAN_API_URL "http://127.0.0.1:27123"
setx OBSIDIAN_API_KEY "da1bc2c78963ef1c79e7a38fc8eef1f049cd39724278510d452395ec18031d44"
setx OLLAMA_BASE_URL "http://127.0.0.1:11434"
setx OLLAMA_EMBED_MODEL "embeddinggemma"Abra uma nova sessao depois de definir as variaveis.
Related MCP server: obsidian-local-mcp
Ollama
Instalacao:
winget install -e --id Ollama.Ollama --accept-source-agreements --accept-package-agreementsSubir o servidor local:
ollama serveBaixar o modelo de embeddings:
ollama pull embeddinggemmaInstalar dependencias
npm installRodar localmente
npm startConfiguracao no Codex
Adicione isto ao C:\Users\rodrigo.souza\.codex\config.toml:
[mcp_servers.obsidian_local]
command = "node"
args = ["C:\\Users\\rodrigo.souza\\Documents\\projetos\\mcp-obsidian-local\\src\\index.js"]Depois reinicie a sessao do Codex.
Camadas
1. Estrutura
obsidian_get_note_metadataobsidian_extract_linksobsidian_get_backlinksobsidian_get_note_neighborsobsidian_list_notes_by_tagobsidian_list_notes_by_frontmatterobsidian_get_tags
2. Recuperacao para IA
obsidian_find_related_notesobsidian_build_context_bundleobsidian_project_memoryobsidian_summarize_note_clusterobsidian_refresh_indexobsidian_rebuild_semantic_indexobsidian_semantic_search_notes
3. Atualizacao do segundo cerebro
obsidian_write_noteobsidian_append_noteobsidian_upsert_frontmatterobsidian_append_context_sectionobsidian_open_note
Base
obsidian_get_statusobsidian_list_filesobsidian_read_noteobsidian_delete_noteobsidian_search_notes
Resources
obsidian://statusobsidian://note/{path}obsidian://note-metadata/{path}
Indice semantico
O indice vetorial e persistido em:
data/semantic-index.jsonFluxo recomendado:
npm startDepois, via MCP:
rode
obsidian_refresh_indexrode
obsidian_rebuild_semantic_indexuse
obsidian_semantic_search_notesuse
obsidian_build_context_bundleuse
obsidian_project_memory
O bundle hibrido combina:
relacoes por links e backlinks
tags e frontmatter
busca lexical simples
similaridade vetorial local via
Ollama
Memoria de projeto
obsidian_project_memory monta um pacote de memoria orientado a projeto para codificacao e analise.
Entrada:
projectmoduleopcionaltopicopcionallimit
Saida:
notas principais do projeto
mapa de relacionamentos entre essas notas
hits semanticos locais
lacunas de documentacao como arquitetura, ADRs, API, dados e operacao
guidance para decidir o que ler e o que atualizar no vault
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
An MCP server that gives your AI access to the source code and docs of all public github repos
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA local MCP server that enables AI applications like Claude Desktop to securely access and work with Obsidian vaults, providing capabilities for reading notes, executing templates, and performing semantic searches.830MIT
- AlicenseNot gradedqualityDmaintenanceA local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.2MIT
- AlicenseAqualityCmaintenanceLocal-first MCP server for working with an Obsidian vault. No API key required1719MIT
- AlicenseAqualityCmaintenanceMCP server that exposes a local Obsidian vault as persistent, searchable memory for AI agents, with hybrid retrieval, reranker, and PDF support.34408 npm35MIT