A read-only Model Context Protocol (MCP) server that lets AI assistants (e.g. Claude) query your Bear notes via SQLite.
https://github.com/bart6114/my-bear-mcp-serverStop context-switching between Bear and your AI assistant. This MCP server connects Claude directly to your Bear notes database, giving you instant access to your entire knowledge base during AI conversations.
You're deep in a Claude conversation about a project, and you know you have relevant notes in Bear. But to access them, you need to:
Your personal knowledge base sits isolated from your AI workflows, creating friction exactly when you need seamless access.
This MCP server connects straight to Bear's SQLite database with read-only access. Claude can now search your notes, pull up specific entries, and browse your tags without you lifting a finger.
What you get:
The read-only implementation means zero risk to your notes - it's physically impossible for this server to modify your Bear database.
Project Research: "Show me all my notes about microservices architecture from the #backend-design tag"
Meeting Prep: "Pull up my notes from last month's client meetings about the dashboard redesign"
Knowledge Synthesis: "Find my notes about React performance optimization and summarize the key patterns I've documented"
Content Creation: "Look through my #writing-ideas notes and help me outline a blog post about developer productivity"
npx github:bart6114/my-bear-mcp-server
That's it. The server auto-discovers your Bear database and starts running.
For Claude Desktop, add this to your claude_desktop_config.json:
{
"mcpServers": {
"bear": {
"command": "npx",
"args": ["github:bart6114/my-bear-mcp-server"]
}
}
}
Direct SQLite Access: Bypasses Bear's API limitations for faster, more comprehensive queries
Read-Only Safety: Database connection enforced at the driver level - your notes remain untouchable
Zero Configuration: Auto-detects standard Bear database locations
Universal Compatibility: Works with Claude Desktop, VS Code extension, and any MCP-compatible client
Each tool returns structured data that Claude can immediately work with - no manual formatting or cleanup needed.
Built on the Model Context Protocol with TypeScript, using better-sqlite3 for database access. The server enforces read-only connections at the SQLite driver level:
this.db = new Database(dbPath, { readonly: true });
This ensures that even if something goes wrong, your Bear database remains protected.
If you're already using Bear for notes and Claude for AI assistance, this server immediately eliminates the friction between them. Your personal knowledge base becomes part of every AI conversation.
Install: npx github:bart6114/my-bear-mcp-server
Configure: Add to your Claude config
Use: Start asking Claude about your notes
Your Bear notes are about to become significantly more valuable.