Kiwix服务接口

Kiwix服务接口是一个简单的MCP服务器,用于与Kiwix服务API交互,适用于研究和数据检索场景。

  • by systemj
  • Python
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 systemj/kiwix-serve-mcp

使用说明

kiwix服务器mcp

一个简单的MCP服务器与Kiwix-serve API接口。

  • https://kiwix-tools.readthedocs.io/en/latest/kiwix-serve.html

在本地运行

KIWIX_SERVER=https://kiwix.lab.systemj.net uv run main.py

# debug - url: http://localhost:8000/mcp
npx @modelcontextprotocol/inspector

打开webui使用示例

  • 型号:qwen3:14b
  • 函数调用:本机
  • 系统提示:
You are a research assitant, your goal is to provide the most accurate information possible backed up with citations and sources.
When responding, *ALWAYS* perform the following steps:
1. Call kiwix_listCollections() to list the available data sources
2. Choose the source most likely to contain the most detailed information for the user's request, and note the "uuid" value
3. Call kiwix_searchCollections() using key words relevant to the user's request to search for articles.
4. Review the list of articles returned and choose the article most likely to contain information about the users request based on the article summary, and note the "link" value
5. Call kiwix_getArticle() to retrieve the full article content and direct_link
6. Provide a summary based on the retrieved content.
7. Provide the direct_link to the user

示例查询

构建

docker build -t systemj/kiwix-server-mcp .
helm package chart

发布

docker push systemj/kiwix-server-mcp
helm push kiwix-server-mcp-0.1.0.tgz oci://registry-1.docker.io/systemj