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. That's it! The server will start running and connect to your Bear database. - macOS with Bear app installed - Node.js 18 or higher Add this to y
Add this skill
npx mdskills install bart6114/my-bear-mcp-serverWell-documented read-only Bear notes integration with clear setup and useful search tools
1# Bear MCP Server23A Model Context Protocol (MCP) server that allows AI assistants like Claude to read notes from the [Bear](https://bear.app/) note-taking app. This implementation connects directly to the Bear SQLite database in a read-only mode, ensuring your notes remain safe and unmodified.45[](https://github.com/bart6114/my-bear-mcp-server)6[](https://bear.app)7[](https://claude.ai)8[](https://www.typescriptlang.org/)9[](https://opensource.org/licenses/MIT)1011## Quick Start1213### Option 1: Install from GitHub (Recommended)1415```bash16npx github:bart6114/my-bear-mcp-server17```1819That's it! The server will start running and connect to your Bear database.2021### Option 2: Clone and Run Locally2223```bash24# Clone the repository25git clone https://github.com/bart6114/my-bear-mcp-server.git26cd my-bear-mcp-server2728# Install dependencies29npm install3031# Build and run32npm run build33npm start34```3536## Prerequisites3738- macOS with Bear app installed39- Node.js 18 or higher4041## Configuration4243### For Claude Desktop App4445Add this to your configuration file at `~/Library/Application Support/Claude/claude_desktop_config.json`:4647```json48{49 "mcpServers": {50 "bear": {51 "command": "npx",52 "args": ["github:bart6114/my-bear-mcp-server"],53 "env": {},54 "disabled": false,55 "autoApprove": []56 }57 }58}59```6061### For Claude VS Code Extension6263Add this to your configuration file at `~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`:6465```json66{67 "mcpServers": {68 "bear": {69 "command": "npx",70 "args": ["github:bart6114/my-bear-mcp-server"],71 "env": {},72 "disabled": false,73 "autoApprove": []74 }75 }76}77```7879## Available Tools8081The Bear MCP server provides these read-only tools (all operations are non-destructive and cannot modify your Bear database):8283### open_note8485Open a note by title or ID.8687### search_notes8889Search for notes by term or tag.9091### get_tags9293Get all tags in Bear.9495### open_tag9697Show all notes with a specific tag.9899## Example Usage100101Here are examples of how to interact with the Bear MCP tools through AI assistants:102103### Searching for Notes104105Ask your AI assistant to search for notes containing specific terms:106107```108Can you find all my notes about "project management"?109```110111### Opening a Specific Note112113Ask your AI assistant to retrieve a specific note by title:114115```116Show me my note titled "Meeting Notes - March 2025"117```118119### Viewing Tags120121Ask your AI assistant to list all your Bear tags:122123```124What tags do I have in my Bear notes?125```126127### Finding Notes with a Specific Tag128129Ask your AI assistant to show notes with a particular tag:130131```132Show me all notes with the #work tag133```134135## Advanced Options136137If your Bear database is in a non-standard location:138139```bash140npx github:bart6114/my-bear-mcp-server --db-path /path/to/your/database.sqlite141```142143## Technical Details144145### Read-Only Implementation146147This MCP server connects to your Bear SQLite database using a strict read-only connection. This is enforced at the database driver level:148149```typescript150// From src/bear-db.ts151this.db = new Database(dbPath, { readonly: true });152```153154This ensures that:155- No write operations can be performed on your database156- Your notes and tags cannot be modified, deleted, or corrupted157- The database connection will fail if write permissions are attempted158159All operations performed by this server are SELECT queries that only retrieve data without modifying it.160161## License162163This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.164
Full transparency — inspect the skill content before installing.