Bodhi MCP
Click on "Deploy 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., "@Bodhi MCP find the best playbook for designing an investor pitch deck"
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.
Bodhi MCP
Synthesized decision frameworks for AI agents. Enlightenment through curated knowledge.
What is Bodhi?
Bodhi is an MCP (Model Context Protocol) server that provides pre-synthesized knowledge that AI agents can't derive on their own — decision frameworks requiring 2+ sources and human judgment.
Unlike raw documentation, Bodhi serves distilled wisdom: decision guides, common mistakes, and actionable checklists synthesized from multiple authoritative sources.
Related MCP server: Internal Documentation Search
Quick Start
MCP-Compatible Clients (Claude Desktop, Cursor, etc.)
Add to your MCP client config (e.g., claude_desktop_config.json):
{
"mcpServers": {
"bodhi": {
"command": "npx",
"args": ["bodhi-mcp"]
}
}
}Or with a custom knowledge path:
{
"mcpServers": {
"bodhi": {
"command": "npx",
"args": ["bodhi-mcp", "--knowledge-path", "/path/to/your/knowledge-base"]
}
}
}Local Development
# Clone and install
git clone https://github.com/5h1vmani/bodhi-mcp.git
cd bodhi-mcp
npm install
# Build
npm run build
# Run with your knowledge base
npm start -- --knowledge-path /path/to/knowledgeAvailable Tools
All tools use the bodhi_ prefix, return both markdown and structured JSON (response_format: "json" | "markdown"), and include outputSchema + annotations.
bodhi_route(task)
Find the best playbook for a given task.
Uses the INDEX.md routing table to match tasks to relevant playbooks. Returns the most relevant playbook with confidence score and alternatives.
Input: { "task": "pitch deck design for investors" }
Output: {
"playbook": "domains/marketing/pitch-deck-strategy.md",
"confidence": 0.85,
"title": "Pitch Deck Strategy",
"domain": "marketing",
"tldr": "Stage-specific structure, investor psychology...",
"alternatives": [...]
}bodhi_search(query, domain?, limit?)
Full-text search across all playbooks.
Use for broader queries when bodhi_route() doesn't find a match, or to explore related topics.
Input: { "query": "UPI payment", "domain": "ux" }
Output: [
{ "path": "domains/ux/india-checkout-patterns.md", "title": "India Checkout Patterns", "score": 12.5, ... },
...
]bodhi_list(domain?, complexity?, limit?)
List all available playbooks with metadata.
Use to explore what knowledge is available or filter by domain/complexity.
Input: { "domain": "security", "complexity": "advanced" }
Output: [
{ "path": "domains/security/serverless-aws-security.md", "title": "Serverless AWS Security", ... },
...
]bodhi_read(path, section?)
Read the full content of a specific playbook.
Use after bodhi_route() or bodhi_search() to get the complete playbook content.
Input: { "path": "domains/ux/gamification.md", "section": "Decision Guide" }
Output: "## Decision Guide\n\n| Scenario | Approach | Why |..."bodhi_summary()
Get a summary of the knowledge base.
Returns total playbooks, domains, and complexity distribution.
bodhi_diagnose()
Health check and debugging information.
Use to troubleshoot setup issues or verify the knowledge base is loaded correctly.
Output: {
"status": "healthy",
"version": "0.4.0",
"playbooksCount": 112,
"routesCount": 339,
"domainsFound": ["ux", "marketing", "security", ...],
"issues": [],
"recommendations": []
}Domains
Bodhi organizes knowledge into domains:
Domain | Topics |
ux | Design systems, forms, mobile, gamification, checkout UX, accessibility |
marketing | GTM strategy, pitch decks, sales, content, email, brand identity |
security | India compliance (DPDP), serverless security, CORS/CSP, OWASP |
backend | Payments, email delivery, serverless costs, B2B2C architecture |
frontend | Next.js, PDF generation, server components |
devops | IaC best practices, verification checklists |
ai-development | Agent workflows, MCP server design, model selection, cost optimization |
architecture | Decision records, session handoffs |
communication | Text-based rapport, psychological principles |
documentation | AI-optimized docs, API documentation |
MCP Spec Compliance (v0.3.0)
Feature | Status |
Service-prefixed tool names ( | ✅ |
| ✅ |
Tool annotations ( | ✅ |
| ✅ |
| ✅ |
Resources primitive ( | ✅ |
| ✅ |
Cache with TTL + mtime invalidation | ✅ |
Path traversal prevention | ✅ |
Provenance metadata (confidence, status, staleness) | ✅ |
Creating Your Own Knowledge Base
Bodhi works with any knowledge base following this structure:
knowledge/
├── INDEX.md # Task routing table
├── domains/
│ ├── ux/
│ │ ├── _index.md # Domain index
│ │ ├── gamification.md
│ │ └── ...
│ ├── marketing/
│ │ └── ...
│ └── ...
└── meta/
└── contributing.md # Contribution guidelinesPlaybook Format
Each playbook follows a standard format:
---
domain: ux
topic: gamification
tags: [engagement, retention, psychology]
complexity: intermediate
last_updated: 2025-01-15
confidence: 0.85
status: validated
review_by: 2025-07-01
---
# Gamification
> One-line value proposition.
## TL;DR
- **Key insight 1** — supporting detail
- **Key insight 2** — supporting detail
## Decision Guide
| Scenario | Approach | Why |
|----------|----------|-----|
| Specific situation | Concrete recommendation | Reasoning |
## Common Mistakes
| Mistake | Fix |
|---------|-----|
| Real failure | Specific solution |
## Checklist
- [ ] Verification item 1
- [ ] Verification item 2INDEX.md Routing Table
The routing table maps tasks to playbooks:
## Task Routing
| Task | Read This |
|------|-----------|
| Gamification | `domains/ux/gamification.md` |
| Pitch deck design | `domains/marketing/pitch-deck-strategy.md` |Environment Variables
Variable | Description | Default |
| Path to knowledge base |
|
| Logging level: |
|
| Cache time-to-live in milliseconds |
|
Development
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Lint
npm run lint
# Type check
npm run typecheckCommit Convention
This project uses Conventional Commits. Commit messages are validated via commitlint.
<type>: <subject>
# Examples:
feat: add new search filter option
fix: resolve routing table parsing error
docs: update installation instructions
chore: upgrade dependenciesTypes: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
License
MIT
Contributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'feat: add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Built with ❤️ by Team Bodhi for AI agents seeking enlightenment.
Available Tools
6 toolsbodhi_diagnoseARead-onlyIdempotent
Health check and debugging information for the Bodhi MCP server. Use to troubleshoot setup issues or verify the knowledge base is loaded correctly.
Inputs: response_format. Returns: issues, status, version, routesCount, +4 more
bodhi_listARead-onlyIdempotent
List all available playbooks in the Bodhi knowledge base with metadata. Use to explore what knowledge is available or filter by domain/complexity. Stale entries are flagged.
Inputs: limit, domain, complexity, response_format. Returns: total, results
bodhi_readARead-onlyIdempotent
Read the full content of a specific playbook from the Bodhi knowledge base. Use after bodhi_route() or bodhi_search() to get the complete playbook content. Supports extracting specific sections.
Inputs: path (required), section, response_format. Returns: path, title, content, frontmatter
bodhi_routeARead-onlyIdempotent
Find the best playbook for a given task. Uses the INDEX.md routing table to match tasks to relevant playbooks. Returns the most relevant playbook with confidence score and alternatives. Use this first — if no match, fall back to bodhi_search.
Inputs: task (required), response_format. Returns: tldr, title, domain, playbook, +2 more
bodhi_searchARead-onlyIdempotent
Full-text search across all playbooks in the Bodhi knowledge base. Use for broader queries when bodhi_route() doesn't find a match, or to explore related topics. Returns scored results with provenance metadata.
Inputs: query (required), limit, domain, response_format. Returns: total, results
bodhi_summaryARead-onlyIdempotent
Get a summary of the Bodhi knowledge base including total playbooks, domains, and complexity distribution.
Inputs: response_format. Returns: domains, totalPlaybooks, complexityDistribution
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct stage of the knowledge-base workflow: route (index match), search (full-text fallback), list (browse), read (fetch content), summary (stats), diagnose (health). The only mild overlap is route vs. search, but the descriptions explicitly sequence them ('use this first... fall back to bodhi_search'), so an agent can choose correctly.
All six tools share a uniform bodhi_ prefix followed by a short action-like name, which reads predictably. The one minor deviation is bodhi_summary, which is a noun rather than a verb, while route/search/list/read/diagnose are verbs.
Six tools is well-scoped for a read-oriented knowledge base: discovery (route, search, list), retrieval (read), and meta (summary, diagnose) each earn their place with no redundancy.
The surface covers the full read path from discovery to full content plus health/stats, with section extraction in bodhi_read. Gaps are minor and likely intentional (read-only: no create/update/index-refresh tools, and no explicit 'related playbooks' traversal beyond search).
Maintenance
Related MCP Connectors
Shared business knowledge, tools and skills for AI agents, with citations and approval controls.
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
The system of record for AI agent authority: playbooks, routed policy questions, reusable rules.
Your team's shared, verified knowledge for AI agents: ask what's true, record what you learn.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to autonomously manage and improve execution processes for repetitive task types by storing reusable task contexts with associated artifacts (practices, rules, prompts, learnings) and providing full-text search across historical best practices.81MIT
- FlicenseAqualityNot gradedmaintenanceExposes an internal engineering knowledge base to AI assistants, allowing users to search and retrieve standards, runbooks, and architecture decisions. It supports RAG-enhanced search, document scraping, and specialized prompts for incident investigation and code reviews.5-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to query a team's shared, verified knowledge before acting and submit newly learned facts, decisions, and processes back to the knowledge base.MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to query a governed knowledge base and receive cited answers, or explicitly decline when the record does not cover the question, preventing improvisation over gaps.-