> ## Documentation Index
> Fetch the complete documentation index at: https://linkly.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Search an Obsidian Vault from Claude, Codex and Other Agents

> Let your AI agent search and read an Obsidian vault over MCP, without a plugin and without Obsidian running.

An Obsidian vault is a folder of Markdown files. Add it to Linkly AI and every agent connected over MCP can search and read it. **No Obsidian plugin is needed, and Obsidian doesn't have to be open.**

## Set it up

**1. Add the vault folder**

In Linkly AI, add your vault's folder to the indexed folders. New and changed notes are picked up automatically.

**2. Create a library (optional)**

Put the vault in its own [library](https://linkly.ai/docs/en/use-libraries.md), so you can tell the agent to search only there.

**3. Connect your agent**

In Claude Code, run:

```bash theme={null}
claude mcp add --transport http linkly-ai "http://127.0.0.1:60606/mcp?client=claude-code"
```

Other clients are in the [integration overview](https://linkly.ai/docs/en/integration.md).

**4. Try it**

```
Search my Obsidian notes for what I wrote about pricing, and summarize the decisions
```

## What is indexed

* Notes, and attachments in [supported formats](https://linkly.ai/docs/en/indexing.md) such as PDF, images and audio.
* Not indexed: hidden folders. That includes `.obsidian`, where settings and plugins live, and `.trash`.

## Compared with Obsidian MCP servers

| | Linkly AI | [mcp-obsidian](https://github.com/MarkusPfundstein/mcp-obsidian) | [Local REST API plugin](https://github.com/coddingtonbear/obsidian-local-rest-api) |
| - | - | - | - |
| Needs Obsidian open | No | Yes, through the REST API plugin | Yes, it runs inside Obsidian |
| Needs a plugin | No | Yes | It is the plugin |
| Searches files outside the vault | Yes | No | No |
| Semantic search | Yes | Not listed | Not listed |
| Edits notes in the vault | No | Yes | Yes |

Use an Obsidian server when the agent should edit or append to notes. Use Linkly AI to find and read, or when the answer may be in a PDF outside the vault. You can connect both.

## FAQ

> [accordion] Can the agent change my notes?
>
> No. Linkly AI only reads indexed files. `note_save` writes to the Linkly AI notes folder, not to your vault.

> [accordion] Does it work with iCloud or Dropbox vaults?
>
> Yes, as long as the files are downloaded to your computer. Files that exist only in the cloud can't be read.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.