一本智慧之书 MCP 服务,为问题提供随机而富有哲理的答案
Project description
答案之书 MCP 服务
一个基于Model Context Protocol的智慧答案生成服务,为你的问题提供随机而富有哲理的答案。
功能特点
- 🎯 随机生成智慧答案
- 📊 查询历史记录和统计
- 🎨 支持自定义答案
- 💾 持久化存储配置
安装和使用
- 安装依赖:
pip install -r requirements.txt - 运行服务:
python answer_book_mcp.py - 通过MCP客户端连接使用
API说明
ask_question(question: str)- 提问获取答案get_recent_history(limit: int)- 获取历史记录get_statistics()- 获取使用统计add_custom_answer(answer_text: str)- 添加自定义答案
使用示例
这个MCP服务可以通过各种MCP客户端使用,比如Claude、Cursor等:
# 示例对话
用户:我应该接受这个工作机会吗?
答案之书:跟随你内心的声音。
用户:这个项目能成功吗?
答案之书:风险太大,建议谨慎。
用户:查看我的历史记录
答案之书:显示最近5条提问记录
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
answer_book_mcp-1.0.0.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file answer_book_mcp-1.0.0.tar.gz.
File metadata
- Download URL: answer_book_mcp-1.0.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
579fb33eb3aad0251a320f19eaccff38bcded0b920f21e5dd62ac47bcf983b3a
|
|
| MD5 |
36705a64563b6913847dac2930659d1d
|
|
| BLAKE2b-256 |
fe358568298363335605d75ba1502a94d695c5c7dac678c807e24e36c78741ca
|
File details
Details for the file answer_book_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: answer_book_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecf4c8410c303bf8f85aa5ddb61b02d644676548fc1c89f695f8a9d856e24275
|
|
| MD5 |
75a64d948fc753c2ded762c1936154d7
|
|
| BLAKE2b-256 |
996bbda4d435aea7dc556e95d3d4a58d2f520c9e1dab071de2c488845d239587
|