Flaiwheel logo

Flaiwheel

by dl4rce

Self-hosted MCP memory layer for coding agents with Git-backed knowledge, hybrid search, governance tools, and codebase analysis.

Install Flaiwheel

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://host:8081/sse

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

dl4rce/flaiwheel connects AI coding agents to a self-hosted engineering knowledge base stored as structured files in Git. It combines semantic search, BM25 keyword matching, and optional cross-encoder reranking, while providing tools for file context, session history, documentation, validation, and codebase analysis. Git hooks can capture selected commits automatically, and behavioral directives encourage agents to search before coding and document completed work. Reach for it when coding teams need persistent, project-specific knowledge without sending data to a cloud service.

Use cases

  • Search project knowledge before modifying a file
  • Record bugfixes and architecture decisions for later sessions
  • Analyze a legacy codebase and prioritize documentation
  • Capture selected Git commits as structured knowledge
  • Validate and relate Markdown engineering documents

Key features

  • Hybrid semantic and BM25 search with optional reranking
  • Git-backed structured engineering knowledge
  • Seven category-specific documentation tools
  • Server-side cold-start codebase analysis
  • Multi-project isolation with persistent telemetry
  • Optional automatic TLS for LAN deployments

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 88d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Flaiwheel works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Flaiwheel

dl4rce/flaiwheel is an MCP server that connects AI coding agents to a self-hosted, Git-backed engineering knowledge base. Its main tools provide hybrid document search, file context retrieval, session history, structured bugfix and architecture records, document validation, knowledge relations, timelines, and server-side codebase analysis.

Install dl4rce/flaiwheel as a self-hosted Docker service with persistent data volumes. New deployments expose the HTTP SSE endpoint at `http://host:8081/sse`, and the included Web UI handles configuration, monitoring, and testing.

Yes, dl4rce/flaiwheel supports Cursor through its MCP endpoint. The default HTTP SSE connection is recommended; if automatic TLS is enabled, Cursor or its Electron runtime may require the generated Flaiwheel CA to be trusted by the operating system.

It combines semantic vector retrieval with BM25 keyword search using Reciprocal Rank Fusion, then can apply an optional cross-encoder reranking step. Indexed sources include Markdown, PDF, HTML, DOCX, reStructuredText, text, JSON, YAML, and CSV files.

Yes, `analyze_codebase(path)` scans a source directory on the server and creates a `bootstrap_report.md`. The report includes language distribution, file categories, documentation priorities, duplicate pairs, and coverage gaps without consuming agent tokens for the scan.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFlaiwheel AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dl4rce-flaiwheel?style=directory)](https://allmcps.com/mcp/dl4rce-flaiwheel)
HTML Embed
<a href="https://allmcps.com/mcp/dl4rce-flaiwheel"><img src="https://allmcps.com/api/badge/dl4rce-flaiwheel?style=directory" alt="Flaiwheel on AllMCPs" /></a>