lemon-manuals-mcp

lemon-manuals-mcp

Enables browsing and searching a self-hosted LEMON/CHARM car-repair manual archive, with tools to list makes, search vehicles, and fetch manual pages as markdown.

Category
访问服务器

README

lemon-manuals-mcp

Prototype MCP server (streamable HTTP, stateless) for the self-hosted LEMON/CHARM car-repair-manual archive (lemon.home.kelch.io, home-lab repo kubernetes/apps/lemon-manuals/).

Tools:

  • list_makes — all makes with vehicle counts and year ranges
  • search_vehicles — free-text over make/model/engine/year → grouped drivetrains, variants, and all source manuals
  • get_page — opaque encoded site path → normalized markdown, with tree depth and byte controls
  • search_manual — persistent FTS5 search over titles and/or body text, deduplicated by document content
  • get_image — opaque encoded image path → validated MCP image block (2 MB maximum; never truncated)

All returned paths are opaque encoded tokens. Pass them to get_page, search_manual, or get_image exactly as returned; never decode or rebuild them. search_manual defaults to mode: "both"; title and body are also available. Results contain a body-text snippet, an also_under list for duplicate tree placements, and parsed from/through applicability when the publisher labels it. Image-only pages are identified explicitly.

Browse/search is answered locally from the databases' index.json files (~305k vehicles, ~200ms load); page content is fetched from the lemon-website server and converted with turndown. Relative and /hyperlink/... references are normalized to absolute encoded site paths that can be passed directly back to the tools.

Manual full-text data lives in data/manual-search.sqlite by default. A first search tree-walks and persists an unindexed manual. mode: "title" only fetches matching leaves; body/both completes the manual's body index and can therefore be slow on first use. Production should prebuild the index:

# One or more opaque vehicle roots (recommended for incremental rollout)
bun run index-manuals -- '/Volkswagen/2005/Touareg%20%287LA%29%20V8-4.2L%20%28BHX%29/'

# No arguments indexes every isComplete vehicle. This is a full-corpus job.
bun run index-manuals

Setup

The index files are gitignored (147MB, re-fetchable from the cluster):

kubectl -n lemon-manuals exec deploy/lemon-website -- cat /data/charm/index.json > data/charm-index.json
kubectl -n lemon-manuals exec deploy/lemon-website -- cat /data/lemon/index.json > data/lemon-index.json

The server needs HTTP reach to lemon-website. For local dev:

kubectl -n lemon-manuals port-forward deploy/lemon-website 18080:8080

Env: LEMON_BASE_URL (default http://127.0.0.1:18080), LEMON_DATA_DIR (default ./data), and LEMON_SEARCH_DB (default $LEMON_DATA_DIR/manual-search.sqlite). The search database directory must be writable and persistent if lazy indexing is enabled.

Run / register

mise exec -- bun src/index.ts                 # HTTP server on :8787 (/mcp, /healthz)
mise exec -- bun test/client.ts               # end-to-end smoke (needs port-forward)
mise exec -- bun run live-corpus              # one complete manual/corpus/decade
mise exec -- bun test                         # hermetic regression suite
mise exec -- bun run typecheck
claude mcp add --transport http lemon-manuals http://127.0.0.1:8787/mcp

The pages.mtbl direct-read option (vendored oxidized-mtbl crate in kelchm/lemon-website) can eventually replace the HTML ingestion round-trip.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选