Opinionated MCP for Bear Notes. Relevance-ranked search across titles, bodies, hierarchical tags. Offline-first.
Bear Notes MCP demonstrates strong definition quality with consistent naming patterns, comprehensive descriptions, and well-structured schemas. All 13 tools follow verb_noun conventions (bear-*), all have non-empty descriptions (ranging 118 - 289 chars, well within the 10 - 1024 baseline), and input schemas are present with typed parameters. Tool annotations (readOnlyHint, idempotentHint, destructiveHint) are correctly applied. However, output schemas are not formally documented in the code, and error recovery guidance is minimal. Parameter descriptions are generally good but lack explicit constraints (ranges, patterns, enums) that would let LLMs self-validate inputs. No sample IDs are embedded in descriptions, which is good practice. The tool composition is clean, each tool does one thing, and IDs returned (e.g., from bear-open-note's revision token) are designed to chain into follow-up operations (bear-add-text, bear-replace-text). The security posture is solid: no secrets are exposed as parameters, write operations are gated, and file attachment has size/symlink validation.
Attach a file (PDF, image, etc.) to a Bear note. The file is read from the filesystem, encoded in base64, and sent to Bear. Supports files up to 25 MB. Rejects symbolic links and requires regular files.
Create a new Bear note with title, text content, and optional tags. Returns the new note's ID and revision token for immediate use in follow-up operations.
Add one or more tags to a Bear note. Tags can use hierarchy with slashes (e.g., 'project/client'). If a tag already exists on the note, it is not duplicated.
Append text to a Bear note. Supports appending to the note body or to a specific section (header). Include the revision token from a prior bear-open-note call to enforce optimistic concurrency control (OCC) and detect conflicting edits.
Archive a note in Bear. The note is removed from your main library and moved to the Archive. Can be restored later from the Archive view in Bear.
Report the current Bear Notes MCP server mode and how to unlock additional capabilities. Call this when the user asks what you can do with their Bear notes, when a write operation appears unavailable, or when the user wants to enable note creation, editing, or tag management.
Output schemas are not formally documented. While the code executes correctly and responses are structured, LLMs cannot see the return type schema (e.g., bear-search-notes returns objects with id, title, snippet, createdAt, modifiedAt fields, but this is not declared in the tool definition). This forces LLMs to infer output structure from descriptions alone, increasing hallucination risk and preventing static validation.
Parameter descriptions lack explicit constraints. For example, bear-search-notes accepts 'limit' (number) but the description does not state the min/max (code shows default 30, max 1000). Similarly, 'createdAfter'/'createdBefore' accept flexible date strings ('yesterday', '2024-01-15', 'last week') but the description doesn't enumerate valid formats. This invites LLMs to pass invalid values and waste retry attempts.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 67 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 40 | - | v1 |
Delete a tag from all notes in your Bear library. Removes the tag but preserves the notes themselves. Use bear-list-tags first to see existing tags.
List all notes in your Bear library that have no tags. Useful for bulk tagging or identifying notes that need organization. Returns note titles, IDs, and modification dates for easy reference.
List all tags in your Bear library as a hierarchical tree. Shows tag names with note counts. Useful for understanding your tag structure and finding tags to apply to untagged notes. Counts include only active notes (trashed and archived are excluded). Tags with zero active notes are not shown.
Read the full text content of a Bear note by its ID or title. Supports direct title lookup as an alternative to searching first. Always includes text extracted from attached images and PDFs (aka OCR search) with clear labeling. Response includes the note's revision token that changes whenever the note is modified.
Rename a tag across all notes in your Bear library. Useful for reorganizing tag taxonomy, fixing typos, or restructuring tag hierarchies. Use bear-list-tags first to see existing tags.
Replace text in a Bear note. Can replace the entire note body or the content of a specific section (header). Include the revision token from a prior bear-open-note call to enforce optimistic concurrency control (OCC) and detect conflicting edits.
Search notes by full-text query, tag filter, pinned status, date range, or any combination. Returns relevance-ranked results with snippets showing matched terms. Supports hierarchical tag matching and FTS5 syntax for advanced queries.
Error recovery guidance is minimal. Functions like bear-open-note (which can fail if title is ambiguous or note not found) and bear-add-file (which can fail on symlinks or oversized files) do not include instructions for what the LLM should do next. E.g., 'If multiple notes share the same title, returns a list for disambiguation' tells what happened but not how to proceed (should the LLM call bear-search-notes to filter?). No errors include recovery hints like pattern:recovery-guide.
Destructive operations lack confirmation gates. bear-delete-tag and bear-rename-tag are irreversible across the entire library but have no built-in confirmation step. The tool description warns to 'use bear-list-tags first' but there is no programmatic safeguard (e.g., a dry-run mode or confirmation_code parameter). Agents can accidentally delete or mangle tag taxonomies in a single call.
Concurrency control (optimistic locking) is optional. bear-add-text, bear-replace-text, and bear-add-file accept an 'expectedRevision' parameter that enforces OCC, but it is optional ('expectedRevision' has no 'required: true'). LLMs may omit it, leading to lost-update bugs if a note is edited concurrently. The description mentions this prevents 'conflicting edits' but does not state 'always provide expectedRevision if modifying an existing note'.