Skip to main content
Glama

baihua-mcp-server

An MCP server for Baihua capabilities: exposing knowledge base search/note reading, family bookkeeping/tasks, and other read-only capabilities as standard Model Context Protocol (stdio) tools to any MCP client (Claude Desktop / Cursor / DeepSeek Harness's dsh-mcp-client, etc.).

About Baihua

Baihua is a home server for local/LAN use, providing a knowledge base (notes/full-text & semantic search/Anki cards), family data (bookkeeping/tasks/check-ins/achievements/medical records), AI inference (local OpenVINO/OVMS + cloud model routing + compute pool interconnection), and the bh operations CLI; the services are Baihua.Family(8788) · Baihua.AI(8791) · Baihua.Vault(8790) · Baihua.Web(5177).

Positioning: Baihua = capability provider, DSH (DeepSeek Harness) = orchestration and interaction surface. This repository is the standard channel from "Baihua → any MCP client"; sibling plugins within DSH:

Related MCP server: okf-mcp-server

Capabilities provided

Tool

Description

baihua_vault_search

Search the Baihua knowledge base (full-text/semantic), returning matching note snippets

baihua_vault_list

List all knowledge bases (name/path/source)

baihua_vault_read_note

Read a single note (full markdown)

baihua_budget_summary

Family bookkeeping summary (this month's income/expenses/balance/categories)

baihua_tasks_list

Family task/todo list (title/status/time)

Running

npm install
node src/index.js

Connection targets are configured via environment variables (defaults to local loopback; for k8s/container deployments, fill in the ClusterIP):

Environment variable

Default value

Description

BAIHUA_VAULT_URL

http://127.0.0.1:8790

Baihua Vault (knowledge base search/notes)

BAIHUA_FAMILY_URL

http://127.0.0.1:8788

Baihua Family (bookkeeping/tasks)

Connecting to MCP clients

DeepSeek Harness (dsh-mcp-client)

# ~/.dsh/profiles/web/cordis.patch.yml → insert 列表
- id: dsh-mcp-client
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    servers:
      baihua:
        command: node
        args: ['/path/to/baihua-mcp-server/src/index.js']
        env:
          BAIHUA_VAULT_URL: 'http://127.0.0.1:8790'
          BAIHUA_FAMILY_URL: 'http://127.0.0.1:8788'

After connecting, tool names within DSH carry the mcp__baihua__ prefix (e.g., mcp__baihua__baihua_vault_search).

Other MCP clients (Claude Desktop / Cursor, etc.)

Point the client's MCP server configuration to node /path/to/baihua-mcp-server/src/index.js (stdio).

Security

  • All tools are read-only: nothing is written, executed, or started/stopped.

  • Defaults to the local loopback address; before exposing to a LAN/public network, make sure the Baihua admin API has restricted access via BAIHUA_ADMIN_ALLOWED_NETS.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A read-only MCP server that connects to Interactive Brokers Gateway or TWS to expose account, contract, execution, and historical-data queries over stdio.
    9
    7 npm
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Acts as a stdio-to-HTTP proxy for Modus Brain, enabling MCP-compatible AI clients to access an organization's knowledge base in ModusOp.
    48 npm
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Search and read locally-recorded meeting transcripts over stdio. Read-only, no network. Exposes list_sessions, get_session, and search_transcripts to any MCP client.
    7
    MIT