Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

MCP server for managing a writer's bible, a structured and searchable knowledge base of a narrative universe with tools for characters, places, events, and semantic search.

README.md

Bible d'Ecrivain MCP

Serveur MCP standalone pour gerer une bible d'ecrivain — une base de connaissances structuree et cherchable d'un univers narratif.

La bible centralise personnages, lieux, evenements, interactions, regles du monde, recherches et notes. Deux interfaces : outils MCP pour les agents IA, et UI web pour l'humain.

"Bob portait des lunettes a l'eglise du chateau ?"
  --> L'agent interroge la bible
  --> "Oui, Bob portait encore ses lunettes au chapitre 6.
       Il ne s'est fait operer qu'au chapitre 9."

Interface web

!Dashboard

Le dashboard affiche les statistiques de la bible avec des cartes illustrees par type d'entite.

!Graph

Le graph relationnel permet d'explorer visuellement les connexions entre personnages, lieux, evenements et interactions. Cliquer sur un noeud affiche ses details et ses connexions dans un panneau lateral.

!Timeline

La timeline affiche les evenements dans l'ordre narratif, avec les personnages et lieux associes.

Installation

Prerequis : Node.js >= 20, pnpm

git clone <url>
cd barda-mcp-ecrivain-bible
pnpm install
pnpm build

Au premier lancement, le modele d'embeddings (~200 MB) est telecharge automatiquement depuis HuggingFace. C'est une operation unique.

Utilisation

Mode UI (web)

pnpm dev        # Dev : MCP HTTP + UI Vite (hot reload)
pnpm start      # Prod : MCP HTTP + UI statique sur http://localhost:3000

Mode MCP (stdio)

pnpm dev:mcp    # Dev : MCP stdio (pour agents IA)

Configuration MCP

Claude Desktop

Ajouter dans claude_desktop_config.json :

{
  "mcpServers": {
    "bible-ecrivain": {
      "command": "node",
      "args": ["/chemin/vers/barda-mcp-ecrivain-bible/packages/mcp/dist/index.js"]
    }
  }
}

Claude Code

Ajouter dans les settings MCP :

{
  "bible-ecrivain": {
    "command": "node",
    "args": ["/chemin/vers/barda-mcp-ecrivain-bible/packages/mcp/dist/index.js"]
  }
}

Cruchot (barda)

  1. Installation de Cruchot : https://github.com/eRom/cruchot
  2. Télécharger ou cloner le repo puis : Cruchot > Personnaliser > Brigade > Importer un barda

Ou : Ajouter la definition dans la configuration du MCP dans Cruchot :

{
  "command": "node",
  "args": ["/chemin/vers/barda-mcp-ecrivain-bible/packages/mcp/dist/index.js"],
  "transportType": "stdio"
}

Base de donnees personnalisee

Par defaut, la bible est stockee dans packages/mcp/data/bible.db. Pour utiliser un autre chemin :

"args": ["/chemin/vers/dist/index.js", "--db-path", "/chemin/vers/ma-bible.db"]

Fonctionnalites

| Domaine | Tools | Description | |---------|-------|-------------| | Personnages | 5 | Fiches completes (physique, personnalite, background) | | Lieux | 5 | Descriptions, atmosphere, geographie | | Evenements | 7 | Timeline narrative, chronologie, filtres avances | | Interactions | 6 | Relations entre personnages, reseau relationnel | | Regles du Monde | 5 | Magie, technologie, societe, religion... | | Recherches | 5 | Notes de recherche documentaire avec sources | | Notes | 5 | Notes libres avec tags | | Recherche | 2 | Fulltext (FTS5) + semantique (embeddings) | | Export / Import | 2 | Markdown structure + import JSON massif | | Embeddings | 1 | Re-indexation batch (reindex_embeddings) | | Utilitaires | 5 | Backup/restore, stats, doublons, templates | | Total | 48 | |

La recherche semantique retrouve l'information par le sens, pas juste par les mots exacts. Ideal pour les questions floues comme "je sais plus si Bob avait des problemes de vue".

Pour la documentation complete de chaque outil avec parametres et exemples, voir documentation/mcp.md.

Architecture

UI React (navigateur)                   Agent IA (Claude / Cruchot)
+-------------------+                   +---------------------+
| Dashboard, Graph  |                   | LLM = intelligence  |
| Timeline, CRUD    |                   | Analyse, comprend,  |
| Recherche         |                   | decide quoi stocker |
+--------+----------+                   +----------+----------+
         |                                         |
    HTTP POST /mcp                            stdio JSON-RPC
    (JSON-RPC)                                     |
         |                                         |
         v                                         v
+----------------------------------------------------------+
|                  Bible MCP (ce serveur)                   |
|                                                          |
|  McpServer  -->  48 tools  -->  Drizzle ORM  -->  SQLite |
|                                  FTS5 + Embeddings       |
|                              (1 seul fichier .db)        |
+----------------------------------------------------------+
  • Le client (LLM ou UI) interroge la bible via les memes outils MCP.
  • La bible est la memoire : elle stocke, indexe, et retrouve. Pas de LLM embarque.
  • Un seul fichier bible.db = toute la bible. Backup = copier ce fichier.

Stack technique

| Brique | Choix | |--------|-------| | Runtime | Node.js >= 20, TypeScript (strict) | | MCP | @modelcontextprotocol/sdk (stdio + HTTP) | | DB | SQLite via better-sqlite3 + Drizzle ORM | | Fulltext | SQLite FTS5 | | Embeddings | @huggingface/transformers (Xenova/multilingual-e5-base, local) | | UI | React 19, Vite, Tailwind CSS 4, TanStack Query, Sigma.js | | Tests | vitest (90 tests : 61 MCP + 29 UI) | | Build | tsup (MCP) + Vite (UI), monorepo pnpm workspaces |

Developpement

pnpm dev              # MCP HTTP + UI (dev complet)
pnpm dev:mcp          # MCP stdio uniquement
pnpm dev:ui           # UI Vite dev server (proxy vers MCP)
pnpm build            # Build production (MCP + UI)
pnpm test             # Tous les tests (90)
pnpm --filter @barda/mcp test   # Tests MCP (61)
pnpm --filter @barda/ui test    # Tests UI (29)

Licence

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Vector & Memory servers.