• DATA
  • INDEX
  • QUERY
  • HUMAN

How to extract note metadata with your AI

Connect your Obsidian Publish site to your AI client once. From then on, your agent can pull specific properties and tags from your published notes on command.

Ask AI about this page

Short answer

How can I pull tags and properties from my Obsidian Publish notes using AI?

Your AI uses the get_metadata tool to look inside your published notes and grab specific YAML properties or tags. This lets you query your knowledge base for specific data points without manual searching. You get a clear view of your note structure through the following breakdown.

Data outcomes

Where your metadata lands.

The AI pulls specific data points from your published vault.

DATA

Property extraction

The AI pulls specific YAML fields like dates or authors. You get a clean list of values for any note in your vault.

INDEX

Tag aggregation

Your agent identifies every instance of a specific tag across your published site. This helps you map how topics are distributed.

QUERY

Targeted searches

Instead of broad keyword searches, you ask for notes with specific metadata requirements. The AI filters your vault based on the properties you define.

HUMAN

Manual review

You decide which metadata patterns are useful or which notes need better tagging. The AI finds the data, but you manage the vault structure.

The workflow

What your AI does when the request arrives.

The AI acts as a bridge between your chat interface and your published Obsidian site.

  1. Identify the target

    Your agent determines which specific note or set of notes you are asking about based on your prompt.

    get_metadata
  2. Fetch properties

    The AI calls the tool to read the YAML frontmatter and tags within the requested files.

    get_metadata
  3. Filter and parse

    The agent sorts through the raw metadata to find the specific values you asked for, like a certain date range or a specific tag.

    get_metadata
  4. Present findings

    The AI delivers a structured response containing the requested metadata or a list of notes that match your criteria.

    get_metadata

Try it

Copy these to start.

Use these prompts to begin interacting with your Obsidian Publish data.

Starting points

Swap out the bracketed text for your actual note titles or tag names.

Obsidian Publish Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_2g0EdU9eeaIsXiKX4gDTqfxPUZ4owDXPPYajo4f3/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Obsidian Publish capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "obsidian-publish-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_2g0EdU9eeaIsXiKX4gDTqfxPUZ4owDXPPYajo4f3/mcp"
    }
  }
}
Copy into chat04
  • Find all the tags used in my note titled [Note Name].

  • What is the value of the 'status' property in the [Note Name] note?

  • List all notes in my published vault that have the tag #[Tag Name].

  • Check the 'date' metadata for all notes related to [Topic Name].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Obsidian Publish once, then ask.

Follow the link to authorize the connection. Your credentials stay encrypted, and you can immediately start asking questions about your notes.

Connect Obsidian Publish to your AI

FAQ

How this task behaves

  • 01

    Can the AI change the tags in my Obsidian notes?

    No. The AI can only read metadata using get_metadata. It cannot write, edit, or delete anything in your Obsidian vault.

  • 02

    Does the AI see my local files or only published ones?

    The AI only has access to the notes you have published via Obsidian Publish.

  • 03

    Can the AI create new notes based on the metadata it finds?

    No. This MCP is limited to reading metadata. Any note creation or editing must be done by you in Obsidian.

  • 04

    How does the AI know which note to look at?

    You tell the AI the name or path of the note in your prompt, and it uses that information to target the right file.

  • 05

    Can I use this to find notes that don't have any tags?

    Yes. You can ask the AI to identify notes where specific metadata fields are empty or missing.

  • More questions about Obsidian Publish? See everything the Obsidian Publish Connector can do

Connect Obsidian Publish to Claude, Cursor, ChatGPT & more