CBETA MCP Server

CBETA MCP Server

Provides access to the Chinese Buddhist Electronic Text Association (CBETA) online library of over 100 million characters of Buddhist scripture. It enables users to search, browse catalogs, and retrieve content from major collections like the Taishō Tripiṭaka.

Category
Visit Server

README

CBETA MCP Server

中文文档

MCP (Model Context Protocol) Server for CBETA Online - Chinese Buddhist Electronic Text Association.

CBETA contains over 100 million characters of Buddhist scriptures, including the Taishō Tripiṭaka, Xuzangjing, and many other collections.

Features

🔧 Tools

Tool Description
search_sutra Search Buddhist scriptures by keyword
get_sutra_content Get content of a specific scripture
get_work_info Get detailed information about a work
browse_catalog Browse the scripture catalog

📚 Resources

  • cbeta://catalog - Complete scripture catalog

💬 Prompts

  • explain_sutra - Explain sutra passages
  • buddhist_term - Look up Buddhist terminology

Installation

Option 1: Local (Node.js)

# Clone the repository
git clone https://github.com/your-username/cbeta-mcp.git
cd cbeta-mcp

# Install dependencies
npm install

# Build
npm run build

# Run
npm start

Option 2: Cloudflare Workers (Recommended)

Prerequisites

  1. Cloudflare account
  2. Node.js (v18+)
  3. Wrangler CLI

Deployment Steps

# 1. Clone the repository
git clone https://github.com/your-username/cbeta-mcp.git
cd cbeta-mcp

# 2. Install dependencies
npm install

# 3. Login to Cloudflare
npx wrangler login

# 4. Deploy to Cloudflare Workers
npm run deploy

After deployment, your MCP server will be available at:

https://cbeta-mcp.<your-subdomain>.workers.dev

Local Development

# Start local development server
npm run dev:worker

# Test with MCP Inspector
npx @modelcontextprotocol/inspector@latest

Configuration

Claude Desktop

Add to your Claude Desktop config file:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

For Local Server

{
  "mcpServers": {
    "cbeta": {
      "command": "node",
      "args": ["C:\\path\\to\\cbeta-mcp\\dist\\index.js"]
    }
  }
}

For Cloudflare Workers

{
  "mcpServers": {
    "cbeta": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://cbeta-mcp.your-subdomain.workers.dev/sse"
      ]
    }
  }
}

Common Work IDs

ID Title (Chinese) Title (English)
T0001 長阿含經 Dīrghāgama
T0099 雜阿含經 Saṃyuktāgama
T0262 妙法蓮華經 Lotus Sutra
T0374 大般涅槃經 Mahāparinirvāṇa Sūtra
T0475 維摩詰所說經 Vimalakīrti Nirdeśa Sūtra
T0665 金剛般若波羅蜜經 Diamond Sutra
T0842 大毘盧遮那成佛神變加持經 Mahāvairocana Sūtra

API Reference

search_sutra

Search for Buddhist scriptures.

Parameters:

  • query (required): Search keywords
  • scope (optional): Search scope (T, X, N, etc.)
  • page (optional): Page number (default: 1)
  • limit (optional): Results per page (default: 10)

get_sutra_content

Get the content of a specific volume.

Parameters:

  • work_id (required): Work ID (e.g., T0001)
  • juan (optional): Volume number (default: 1)
  • format (optional): Output format ("text" or "html")

browse_catalog

Browse the scripture catalog.

Parameters:

  • catalog_id (optional): Catalog ID to browse

get_work_info

Get detailed information about a work.

Parameters:

  • work_id (required): Work ID

Development

# Install dependencies
npm install

# Build local version
npm run build

# Build for Workers
npm run build:worker

# Run tests with MCP Inspector
npm run inspector

License

MIT

Credits

  • CBETA - Chinese Buddhist Electronic Text Association
  • DILA - Dharma Drum Institute of Liberal Arts

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured