This MCP server provides Claude with access to your Bear App notes, allowing you to search, retrieve, and analyze your notes directly from Claude Desktop or any MCP-compatible client. It offers powerful search capabilities across your note content with features for code analysis and content management.
Clone or download the server script
git clone github.com/netologist/mcp-bear-notes
Create a virtual environment
uv install
source .venv/bin/activate
Test the server
uv run python main.py
Edit your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"bear-notes": {
"command": "/full/path/to/mcp-bear-notes/.venv/bin/python",
"args": ["/full/path/to/mcp-bear-notes/main.py"],
"env": {
"PYTHONPATH": "/full/path/to/mcp-bear-notes/.venv/lib/python3.13/site-packages"
}
}
}
}
Important: Replace /full/path/to/ with your actual file paths.
Close and reopen Claude Desktop to load the MCP server.
Once integrated with Claude Desktop, you can use natural language to interact with your Bear notes:
"Search my Bear notes for Docker examples"
"Find notes about Python APIs"
"Show me my recent notes from this week"
"Find my Kubernetes deployment manifests"
"Look for JavaScript code examples in my notes"
"Show me notes with YAML configurations"
"Get the note titled 'Development Setup'"
"Find notes tagged with 'work'"
"Show me all my available tags"
search_bear_notes(query, tag, limit)Search notes by content and tags.
query: Text to search fortag: Filter by specific tag (without #)limit: Max results (default: 20)get_bear_note(note_id)Retrieve a specific note by its unique ID.
note_id: Bear note's unique identifierfind_kubernetes_examples(resource_type)Find Kubernetes-related content.
resource_type: K8s resource (deployment, service, etc.)find_code_examples(language, topic, limit)Search for code examples.
language: Programming languagetopic: Code topic/domainlimit: Max results (default: 15)find_notes_by_title(title_query, exact_match)Search notes by title.
title_query: Title text to searchexact_match: Exact or partial matchingget_recent_notes(days, limit)Get recently modified notes.
days: How many days to look back (default: 7)limit: Max results (default: 20)list_bear_tags()List all tags found in your notes.
Server won't start
No notes found
Claude Desktop integration fails
Permission denied errors
chmod +x main.pyRun the server directly to see debug output:
python main.py
Check Claude Desktop logs for MCP server errors:
~/Library/Logs/Claude/
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "bear-notes" '{"command":"/full/path/to/mcp-bear-notes/.venv/bin/python","args":["/full/path/to/mcp-bear-notes/main.py"],"env":{"PYTHONPATH":"/full/path/to/mcp-bear-notes/.venv/lib/python3.13/site-packages"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:
{
"mcpServers": {
"bear-notes": {
"command": "/full/path/to/mcp-bear-notes/.venv/bin/python",
"args": [
"/full/path/to/mcp-bear-notes/main.py"
],
"env": {
"PYTHONPATH": "/full/path/to/mcp-bear-notes/.venv/lib/python3.13/site-packages"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json2. Add this to your configuration file:
{
"mcpServers": {
"bear-notes": {
"command": "/full/path/to/mcp-bear-notes/.venv/bin/python",
"args": [
"/full/path/to/mcp-bear-notes/main.py"
],
"env": {
"PYTHONPATH": "/full/path/to/mcp-bear-notes/.venv/lib/python3.13/site-packages"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect