CanPhone 热搜头条 MCP(原型)
免 Key 查热搜热榜,供 CanPhone 里的角色和用户聊今天的热点。
工具
get_hot_search(platform, limit):platform 可选weibo(微博热搜)、baidu(百度热搜)、toutiao(今日头条热榜)、zhihu(知乎热榜)、all(全部,默认);limit 每平台条数 1~50,默认 10。
数据源
各平台公开榜单接口,无需 Key。单平台失败时返回该平台的失败说明,不影响其他平台。
本地运行
python server.py # stdio 传输
测试记录
见同目录 test 记录(2026-11-21 本地实测后补)。
Metadata
Release files for canphone-hot-news 0.1.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 | Actions |
|---|---|---|---|---|
| canphone_hot_news-0.1.0.tar.gz | 3.3 kB | Without provenance | Details for canphone_hot_news-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| canphone_hot_news-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for canphone_hot_news-0.1.0-py3-none-any.whl |
Total release size: 7.2 kB
Release files / canphone_hot_news-0.1.0.tar.gz
| Download URL | canphone_hot_news-0.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26ce8fbec7acd890ca575a0caa96e8468890d5fca8b3cc01aa4e26de41ed92f3
|
|
BLAKE2b-256 checksum How to use checksums |
b24af03cf4739072643305a830a7f2aee2f3d888e30b796cdd215a288e978ac7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / canphone_hot_news-0.1.0-py3-none-any.whl
| Download URL | canphone_hot_news-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac70163d77855f81cc15a818bb55529046a6080b430ee57ec1acdb99a5b1e8ba
|
|
BLAKE2b-256 checksum How to use checksums |
5b23fd0df347e9229fb78d2bc1c4f92209bfc0ba973c25e586f47a7ea75c01c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for canphone-hot-news 0.1.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.