mcpField
F
feishu-docs

feishu-docs

github.com/m1hengDevelopment5157 installsUpdated 37w ago
Repository

About feishu-docs

feishu-docs is a terminal-based skill for searching and reading Feishu developer documentation with the feishu-doc CLI. It also supports browsing documentation trees and reading results as Markdown.

Key features

  1. 01Search documentation by title
  2. 02Read documents as Markdown
  3. 03Browse documentation trees
  4. 04Explore subtrees by path
  5. 05English output with --lang en

Use cases

  1. 01Finding a Feishu API reference
  2. 02Reading a developer guide in the terminal
  3. 03Exploring documentation by category

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/m1heng/feishu-doc-cli --skill feishu-docs

After installing, type/feishu-docsin Claude Code to confirm it loaded.

Details

From the project README

Feishu Open Platform Docs

Read Feishu developer documentation directly from the terminal via feishu-doc CLI.

Prerequisites

Install once (requires Node.js >= 18):

npm install -g feishu-doc-cli

Commands

feishu-doc search "<keyword>"     # Search docs by title
feishu-doc read "<path>"          # Read a document (outputs Markdown)
feishu-doc tree --depth 2         # Browse the doc tree
feishu-doc tree "<path>"          # Browse a subtree

Add --lang en for English.

Workflow

  1. Start with search to find relevant documents:

    feishu-doc search "知识库"
    
  2. Read a document using the path from search results:

    feishu-doc read "/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview"
    
  3. Follow links — document content contains links in various formats. Copy any link href and pass it directly to read:

    # All these formats work — just copy the href as-is:
    feishu-doc read "/ssl:ttdoc/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space/list"
    feishu-doc read "https://open.feishu.cn/document/client-docs/intro"
    feishu-doc read "https://open.larkoffice.com/document/client-docs/bot-v3/bot-overview"
    
  4. Browse by category if you need to explore an area:

    feishu-doc tree "/uAjLw4CM/ukTMukTMukTM" --depth 2   # Server APIs
    

Top-level doc categories

CategoryTree path
Developer Guides/uAjLw4CM/ukzMukzMukzM
Developer Tutorials/uAjLw4CM/uMzNwEjLzcDMx4yM3ATM
Server API/uAjLw4CM/ukTMukTMukTM
Client API/uAjLw4CM/uYjL24iN
MCP/mcp_open_tools

Comments

Markdown supported