Bear Notes Integration
STDIOMCP server that allows AI assistants to read notes from Bear app.
MCP server that allows AI assistants to read notes from Bear app.
A Model Context Protocol (MCP) server that allows AI assistants like Claude to read notes from the Bear note-taking app. This implementation connects directly to the Bear SQLite database in a read-only mode, ensuring your notes remain safe and unmodified.
npx github:bart6114/my-bear-mcp-server
That's it! The server will start running and connect to your Bear database.
# Clone the repository git clone https://github.com/bart6114/my-bear-mcp-server.git cd my-bear-mcp-server # Install dependencies npm install # Build and run npm run build npm start
Add this to your configuration file at ~/Library/Application Support/Claude/claude_desktop_config.json
:
{ "mcpServers": { "bear": { "command": "npx", "args": ["github:bart6114/my-bear-mcp-server"], "env": {}, "disabled": false, "autoApprove": [] } } }
Add this to your configuration file at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
:
{ "mcpServers": { "bear": { "command": "npx", "args": ["github:bart6114/my-bear-mcp-server"], "env": {}, "disabled": false, "autoApprove": [] } } }
The Bear MCP server provides these read-only tools (all operations are non-destructive and cannot modify your Bear database):
Open a note by title or ID.
Search for notes by term or tag.
Get all tags in Bear.
Show all notes with a specific tag.
Here are examples of how to interact with the Bear MCP tools through AI assistants:
Ask your AI assistant to search for notes containing specific terms:
Can you find all my notes about "project management"?
Ask your AI assistant to retrieve a specific note by title:
Show me my note titled "Meeting Notes - March 2025"
Ask your AI assistant to list all your Bear tags:
What tags do I have in my Bear notes?
Ask your AI assistant to show notes with a particular tag:
Show me all notes with the #work tag
If your Bear database is in a non-standard location:
npx github:bart6114/my-bear-mcp-server --db-path /path/to/your/database.sqlite
This MCP server connects to your Bear SQLite database using a strict read-only connection. This is enforced at the database driver level:
// From src/bear-db.ts this.db = new Database(dbPath, { readonly: true });
This ensures that:
All operations performed by this server are SELECT queries that only retrieve data without modifying it.
This project is licensed under the MIT License - see the LICENSE file for details.