Skip to main content
Image

r/noteplanapp



Level up your skills. Join Codecademy.
Image Level up your skills. Join Codecademy.


Problem: NotePlan MCP search by title_or_filename doesn't match frontmatter title: field Problem: NotePlan MCP search by title_or_filename doesn't match frontmatter title: field

Hi,

I used Claude to acess noteplan via the noteplan mcp tools initially faced an issue when searching for a note after little back and forth i found it. I then asked Claude what went wrong and why the search did not yield a result in the first place. The answer follows below. Is this the expected behaviour? If so how to correct Cladue for the next time?

Thanks,

________________________________________________________________________

Message from £Claude Opus 4.6

Environment: NotePlan MCP tools accessed via Claude Desktop / Claude App with MCP integration.

What happened: I had a project note with this frontmatter:

---
title: 🟥_0049_knuth_reviewer
start date: 2026-02
tags: #project/scope
type: project-note
---

The note's actual filename was auto-generated from a template: 🟥_0012_project 2 2 2 2 3 2 2 2 3 2 3 3 4 2 2 4 2 2 2 2 2 2 2 2 2 2 2.md

Searches that failed (returned zero results):

  • noteplan_search with query: "0049"searchField: "title_or_filename" → 0 results

  • noteplan_search with query: "knuth reviewer"searchField: "title_or_filename" → 0 results

  • noteplan_get_notes with query: "0049" → 0 results

  • noteplan_get_notes with title: "🟥_0049_knuth_reviewer" → "Note not found"

Search that worked:

  • noteplan_search with query: "knuth_reviewer"searchField: "content" (default full-text search) → found the note, because the frontmatter title appeared in the raw content.

Expected behaviour: Searching with searchField: "title_or_filename" should match against the frontmatter title: field, since that's the user-facing title NotePlan displays. Currently it appears to match only against the raw filename on disk.

Impact: When notes are created from templates, the filename is auto-generated and bears no resemblance to the actual project title. This makes title-based search unreliable for template-created notes via MCP tools.