@littlebigbrain/mcp
The @littlebigbrain/mcp server provides 11 tools for searching, querying, writing, and managing a knowledge graph from AI clients like Claude, Cursor, or Codex.
Read / Retrieval
lbb_search— Hybrid (BM25 + vector) natural-language retrieval with multi-query fusion and optional graph path following from seed entities.lbb_ask— Ask a natural-language question and get a grounded, cited answer synthesized from the graph, or retrieve grounding evidence only.lbb_decode— Given two entity names, identify the relation between them using type-signature narrowing and a fine-tuned model.lbb_ground— Resolve free text to real vocabulary items (types, relations, properties) via autocomplete, embedding/lexical snap, or a full groundability audit.lbb_inspect— Browse ontology, schema, SHACL conformance, inference rules, entity metadata, edges, state, history, provenance, and perform graph traversals.lbb_query— Run SPARQL queries, structured analytics (filters, aggregations, grouping), SHACL validation, inference, and retrieval-premise analysis.
Write / Mutation
lbb_commit— Write triplets (edges), typed scalar properties, and embeddings; retract facts; or label search results for relevance feedback.lbb_observe— Store conversation episodes and commit extracted facts onto an isolated branch, with optional auto-merge after SHACL validation.lbb_configure— Define or evolve ontologies (add/rename/remove entity types, relations, properties), publish SHACL shape bundles, and manage inference rules.lbb_branch— Create isolation branches (fork) and perform validated merges (replay + SHACL check) back onto the parent branch.lbb_index— Rebuild or refresh BM25, vector, and adjacency indexes so newly committed facts become searchable.
All tools support paging, snapshot pinning (as-of / commit sequence), detail levels, and idempotent writes. The server can be deployed via a hosted OAuth endpoint, as a local stdio process, or embedded as an HTTP server within a TypeScript application.
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., "@@littlebigbrain/mcpsearch for entities related to 'Project Apollo'"
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.
@littlebigbrain/mcp
Eleven task-shaped MCP tools for searching, querying, and writing a little big brain graph from Claude, Cursor, Codex, or another MCP client.
Hosted OAuth
Use the hosted endpoint; the client opens WorkOS sign-in and your machine never stores a little big brain stack key:
{
"mcpServers": {
"lbb": {
"url": "https://mcp.littlebigbrain.com/mcp/<stack-slug>"
}
}
}Codex Desktop should use the origin plus a stack header:
{
"mcpServers": {
"lbb": {
"type": "http",
"url": "https://mcp.littlebigbrain.com",
"headers": { "X-LBB-Stack": "<stack-slug>" }
}
}
}Related MCP server: Neo4j GraphRAG MCP Server
Local stdio
{
"mcpServers": {
"lbb": {
"command": "npx",
"args": ["-y", "@littlebigbrain/mcp"],
"env": {
"LBB_BASE_URL": "https://db.eu.littlebigbrain.com",
"LBB_API_KEY": "lbb_sk_live_..."
}
}
}
}Set LBB_GRAPH or LBB_BRANCH when the scope is not main.
Tools
Tool | Use it for |
| hybrid retrieval, multi-query fusion, optional path following |
| grounded answers with citations |
| constrained relation decoding |
| vocabulary completion and resolution |
| ontology, entity, state, history, provenance, traversal |
| SPARQL, structured analytics, SHACL, inference |
| facts, properties, and embeddings |
| conversation episodes plus reviewed extraction |
| isolation branches and validated merge |
| ontology, schema, and inference rules |
| BM25, vector, and adjacency refresh |
Read tools return compact structured envelopes by default. Use detail,
row_limit, and returned cursors to page without silently truncating results.
Write tools derive idempotency keys unless you provide one.
Embed the server
import { createMcpHttpServer } from "@littlebigbrain/mcp";
createMcpHttpServer({
baseUrl: "https://db.eu.littlebigbrain.com",
mcpPath: "/mcp",
allowedHosts: ["127.0.0.1", "localhost", "::1", "[::1]"],
}).listen(8080, "127.0.0.1");The embedded HTTP server passes a key bearer to the database and is for self-hosting behind your own auth. The hosted endpoint's OAuth/ownership layer is served by the little big brain API.
Full tool schemas and examples: MCP documentation.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/littlebigbrains/lbb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server