# dl4rce/flaiwheel [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/dl4rce/flaiwheel  
**GitHub Stars:** 6  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dl4rce-flaiwheel

## Description
Self-hosted memory and governance layer for AI coding agents. 28 MCP tools with structured knowledge capture, hybrid search (semantic + BM25 + cross-encoder reranking), behavioral documentation nudges, cold-start codebase analyzer, and git-native storage. Single Docker container, zero cloud dependencies.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "flaiwheel": {
    "url": "http://host:8081/sse"
  }
}
```

## Documentation

## What dl4rce/flaiwheel MCP server does

dl4rce/flaiwheel gives AI coding agents a persistent knowledge layer for software projects. Instead of treating each conversation as an isolated session, it stores engineering documentation and structured records in files managed through Git. The knowledge base can contain bugfix summaries, architecture decisions, API documentation, setup notes, best practices, changelogs, and test cases.

The server supports a pull, push, and capture workflow. Agents can retrieve relevant knowledge before editing code, write structured records as they work, and capture selected Git commits automatically. A post-commit hook handles commits with `fix:`, `feat:`, `refactor:`, `perf:`, or `docs:` prefixes. Markdown remains the canonical representation, while optional YAML frontmatter supplies relationships such as replacements, dependencies, fixes, and implementations.

## How it works

A Docker deployment runs the service and its supporting components in one container. It indexes project files including Markdown, PDF, HTML, DOCX, reStructuredText, text, JSON, YAML, and CSV. Search combines vector similarity with BM25 keyword retrieval using Reciprocal Rank Fusion. An optional cross-encoder reranks candidates when higher precision is useful, including queries where the agent’s wording differs from the stored vocabulary.

Projects can be isolated within the same container, and knowledge repositories can synchronize through Git. Persistent telemetry records MCP calls per project, including searches, writes, misses, and observed patterns. The Web UI exposes configuration, monitoring, and testing functions. Impact metrics are available through an API, and CI systems can submit guardrail outcomes through the telemetry endpoint.

The cold-start analyzer scans a source directory on the server rather than consuming agent tokens. Python files are inspected with the built-in AST module; TypeScript and JavaScript use regular-expression analysis. Existing MiniLM embeddings help classify files and detect duplicates. The result is a `bootstrap_report.md` containing language distribution, category mapping, suggested documentation priorities, duplicate pairs, and coverage gaps.

## Setup and configuration

The primary deployment model is a self-hosted Docker container with persistent data volumes. New installations use the HTTP SSE endpoint at `http://host:8081/sse`. Automatic TLS can be enabled for LAN deployments with `MCP_SSE_TLS_AUTO=true`; generated certificate material is stored under `/data/tls` and reused while valid. Clients may need the generated CA installed in the operating system trust store, particularly for direct Cursor or Electron-based connections.

The service includes a Web UI for configuration and monitoring. Rebuilding the container with fresh dependency layers applies image security updates while preserving data volumes and deployment settings. A knowledge repository remains under the operator’s control and can be synchronized through Git.

## Tools and capabilities

Named capabilities include:

- `search_docs` for retrieving indexed project knowledge.
- `get_file_context(filename)` for loading knowledge related to a file before editing it.
- `get_recent_sessions` for temporal context from previous work.
- `write_bugfix_summary` and category-specific documentation tools for structured records.
- `validate_doc()` for checking freeform Markdown and warning about unknown relation keys.
- `relations()` and `timeline()` for deriving project knowledge relationships from document metadata.
- `analyze_codebase(path)` for producing a server-side bootstrap report.
- Git post-commit capture, quality checks after reindexing, and ingest filtering for files with critical issues.

Structured writing covers bugfixes, architecture, APIs, best practices, setup, changelogs, and test cases. Test scenarios can use machine-readable Given/When/Then form, and architecture documents can include self-updating Mermaid diagrams.

## Limitations and notes

Flaiwheel is aimed at engineering teams and substantial codebases that benefit from accumulated project knowledge. It is not intended as an autocomplete replacement or as a cloud-only SaaS workflow. The service does not delete files when ingest quality checks reject them, and bootstrap cleanup actions require user approval. TLS is optional, and clients connecting directly to the generated certificate may require operating-system trust configuration.

_Full upstream README: https://allmcps.com/mcp/dl4rce-flaiwheel/readme_

