Back to Home
callme-DP icon

bear-mcp-server

Verified Safe

by callme-DP

Overview

Transforms Bear Notes into a 'second brain' personal knowledge analysis system, supporting semantic retrieval, topic clustering, tag drift analysis, PARA tracking, and visualization with AI capabilities.

Installation

Run Command
npm start

Environment Variables

  • BEAR_DATABASE_PATH
  • NOTE_VECTORS_DIR
  • OLLAMA_URL
  • OLLAMA_MODEL
  • NEO4J_URI
  • NEO4J_USER
  • NEO4J_PASS
  • NEO4J_PASSWORD
  • TOPK
  • TH
  • MAX_CONTENT_CHARS
  • BATCH
  • OLLAMA_TIMEOUT_MS
  • OLLAMA_RETRY_MS
  • OLLAMA_LOG_SAMPLES
  • OLLAMA_LOG_CONTENT
  • OLLAMA_SUMMARY_MODEL_ENV
  • OLLAMA_SUMMARY_DISABLE
  • OLLAMA_SUMMARY_NUM_PREDICT
  • OLLAMA_SUMMARY_STREAM
  • SUMMARY_MIN_LLM_CHARS
  • SUMMARY_MIN_OUTPUT_LEN
  • EMB_LOG_TIMING
  • PORT

Security Notes

The core Node.js server accesses Bear's SQLite database in read-only mode, which is critical for data safety. SQL queries use placeholders to prevent injection. Embedding models are downloaded from reputable sources (HuggingFace). However, the Python script for importing data into Neo4j (import_to_neo4j_brew.py) explicitly uses 'auth=None', which is a significant security flaw if the Neo4j instance requires authentication. Additionally, the Node.js tools designed for writing/modifying notes (e.g., 'insertNote', 'modifyNoteTag') will fail due to the read-only database connection, which is an accidental safety measure but highlights an architectural discrepancy. The server's debug logging of full 'curl' commands could also expose query content in logs.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens100
Stars0
Forks0
Last Update2025-12-02

Tags

Personal Knowledge ManagementSemantic SearchTopic ClusteringKnowledge GraphAI AssistantBear Notes IntegrationPARA Method