答案之书 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条提问记录
Metadata
Release files for answer-book-mcp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| answer_book_mcp-1.0.0.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| answer_book_mcp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / answer_book_mcp-1.0.0.tar.gz
| Download URL | answer_book_mcp-1.0.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
579fb33eb3aad0251a320f19eaccff38bcded0b920f21e5dd62ac47bcf983b3a
|
|
BLAKE2b-256 checksum How to use checksums |
fe358568298363335605d75ba1502a94d695c5c7dac678c807e24e36c78741ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / answer_book_mcp-1.0.0-py3-none-any.whl
| Download URL | answer_book_mcp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecf4c8410c303bf8f85aa5ddb61b02d644676548fc1c89f695f8a9d856e24275
|
|
BLAKE2b-256 checksum How to use checksums |
996bbda4d435aea7dc556e95d3d4a58d2f520c9e1dab071de2c488845d239587
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for answer-book-mcp 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.