Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Faulkner DBshow me the timeline of decisions for our database architecture"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Faulkner DB - Temporal Knowledge Graph System
Faulkner DB empowers software teams to capture, query, and analyze architectural decisions, implementation patterns, and failures as they evolve over time. Built on FalkorDB (CPU-friendly graph database) with hybrid search capabilities, it provides unparalleled insights into your project's history, fostering better decision-making and reducing technical debt.
π― Value Proposition
Improved Decision Tracking - Capture the rationale behind architectural choices and their impact over time
Enhanced Collaboration - Facilitate knowledge sharing and alignment across teams
Reduced Technical Debt - Identify and address problematic patterns early
Faster Onboarding - Accelerate learning for new team members with comprehensive project history
AI-Ready Knowledge Base - Structure knowledge for AI-powered development tools (Claude Code/Desktop)
β¨ Key Features
Temporal Knowledge Graph - Track changes to decisions and patterns over time
Hybrid Search - Graph traversal + vector embeddings + CrossEncoder reranking (<2s queries)
Gap Detection - NetworkX-based structural analysis to identify knowledge gaps
MCP Integration - 7 tools for seamless Claude Desktop/Code integration
Docker Deployment - One-command startup with auto-restart support
CPU-Friendly - Built on FalkorDB, no GPU required (gaming-friendly memory footprint)
π Documentation
Integration Setup Guide - Set up Agent Genesis + Faulkner-DB sync
Contributing Guidelines - How to contribute
π Quick Start
Option 1: Automated NPM Setup (Recommended)
Option 2: Manual Setup
1. Start FalkorDB Stack
2. Configure Claude (Manual)
Add to ~/.config/Claude/claude_desktop_config.json (Linux) or equivalent:
3. Access Services
Network Graph: http://localhost:8082/static/index.html
Timeline View: http://localhost:8082/static/timeline.html
Dashboard: http://localhost:8082/static/dashboard.html
API Health: http://localhost:8082/health
FalkorDB UI: http://localhost:8081
Security Configuration
Authentication
FalkorDB now requires password authentication for all connections.
Setting | Value |
Environment Variable |
|
Default (local dev) |
|
Port Configuration
The default port has been changed from 6379 to 6380 to avoid conflicts with standard Redis installations.
Setting | Value |
Environment Variable |
|
Default Port |
|
Connection Examples
Python
redis-cli
Docker Compose Environment
Destructive Commands Disabled
To prevent accidental data loss, the following commands are disabled in the FalkorDB configuration:
FLUSHALL- DisabledFLUSHDB- Disabled
If you need to clear data during development, use the provided backup/restore scripts or recreate the container with a fresh volume.
ποΈ Architecture
π MCP Tools Documentation
1. add_decision
Record architectural decision with full context and rationale.
2. query_decisions
Hybrid search for decisions by topic/timeframe.
3. add_pattern
Store successful implementation pattern.
4. add_failure
Document what didn't work and lessons learned.
5. find_related
Graph traversal to discover related knowledge nodes.
6. detect_gaps
Run NetworkX structural analysis to identify knowledge gaps (>85% accuracy).
7. get_timeline
Temporal view showing how understanding evolved over time.
π οΈ Technical Stack
Component | Technology |
Graph Database | FalkorDB (CPU-only) |
Metadata Store | PostgreSQL |
Embeddings | sentence-transformers (all-MiniLM-L6-v2) |
Reranking | cross-encoder/ms-marco-MiniLM-L-6-v2 |
Graph Analysis | NetworkX |
MCP Server | Python 3.8+ |
Deployment | Docker Compose |
β‘ Performance
Query Time: <2s (hybrid search with reranking)
Accuracy: 90%+ on decision queries
Gap Detection: >85% accuracy
Memory: Gaming-friendly (FalkorDB: 2GB, PostgreSQL: 1GB)
Scalability: Tested with 10,000+ nodes
π§ Configuration
Environment Variables
Create docker/.env from .env.example:
Note: The FALKORDB_PASSWORD is required for authentication. Change the default password in production environments.
MCP Server Configuration
The MCP server automatically connects to FalkorDB and PostgreSQL using environment variables. No additional configuration needed.
π Troubleshooting
Docker containers not starting
FalkorDB connection errors
Verify FalkorDB is running:
docker-compose psCheck port 6380 is not in use:
lsof -i :6380Verify password is set:
echo $FALKORDB_PASSWORDReview FalkorDB logs:
docker-compose logs falkordb
MCP server not detected in Claude
Verify configuration path matches your OS (see npm package docs)
Restart Claude Desktop/Code after config changes
Check Python path in MCP config is correct
Ensure Docker stack is running
Data persistence issues
Verify
docker/data/directory has correct permissionsCheck
FALKORDB_PERSISTENCE=truein.envBackup data:
docker-compose exec falkordb redis-cli BGSAVE
π€ Contributing
We welcome contributions! Please follow these guidelines:
Fork the repository and create a feature branch
Write tests for new features (pytest)
Follow code style (PEP 8 for Python)
Document changes in code and README
Submit pull request with clear description
Development Setup
See CONTRIBUTING.md for detailed guidelines.
π License
MIT License - see LICENSE for details.
πΊοΈ Roadmap
Phase 1: Core Knowledge Graph
Phase 2: Hybrid Search
Phase 3: Gap Detection
Phase 4: MCP Server Integration
Phase 5: Docker Deployment
Phase 6: Testing & Validation
Phase 7: Advanced Analytics Dashboard
Phase 8: Multi-tenant Support
Phase 9: Cloud Deployment Options
π Support
Discussions: https://github.com/platano78/faulkner-db/discussions
Documentation: https://github.com/platano78/faulkner-db/wiki
π Acknowledgments
Built with:
FalkorDB - Graph database with temporal support
ChromaDB - Vector embeddings (previous iteration)
sentence-transformers - Semantic embeddings
NetworkX - Graph analysis algorithms
FastMCP - MCP server framework
Made with β€οΈ for software teams who value architectural knowledge