ai-netcafe
mcp-name: com.ainetcafe/ai-netcafe
给 AI agent 的一套工具,零依赖、不用注册就能开始。匿名有免费额度,每次调用都会告诉你花了多少钱。
pip install ai-netcafe
This diagram is itself rendered by the service — a stateless image URL, no request needed to build it.
npm/PyPI READMEs don't render mermaid; this does.
from ai_netcafe import NetCafe
nc = NetCafe() # 匿名;NetCafe(key="sk-...") 提额 + 跨设备记忆
nc.search("MCP 协议 2026") # 联网搜索
nc.read("https://example.com") # 网页 → 干净 Markdown
nc.diagram("graph TD; A-->B") # Mermaid/PlantUML/Graphviz → SVG
nc.transcribe("https://x.com/a.mp3") # 语音 → 文字
nc.remember("决定用 Fastify") # 跨会话、跨设备的记忆
nc.build("一个番茄钟,可自定义时长") # ★ 一句话造一个真正在线的应用
nc.costs() # 各模型同题实际收费(见下)
不装任何东西也能用 —— 任何能发 HTTP 请求的 agent 现在就能调:
curl "https://ainetcafe.com/t/web_search?query=MCP+protocol+2026"
同一道题,各模型实际收费差多少(CC BY 4.0)
厂商公布的是「每百万 token 多少钱」。但一次调用花多少钱,取决于模型自己愿意吐多少 token —— 同一道题,有的模型二十几个 token 收工,有的写四百个。我们每晚把固定的题(temperature 0)发给 每个模型,按各家真实上报的用量算实付:
short_answer — 最贵的比最便宜的贵 26.6 倍
| 模型 | 这道题实付 | tokens 入/出 |
|---|---|---|
deepseek-v4-flash |
$0.000152 | 26 / 201 |
GLM5.2 |
$0.000742 | 34 / 200 |
claude-sonnet-5 |
$0.000994 | 21 / 116 |
gemini-3.5-flash |
$0.001351 | 688 / 73 |
claude-opus-4-8 |
$0.002124 | 21 / 102 |
Kimi-K3 |
$0.002239 | 28 / 181 |
截至 2026-08-06,窗口 30 天,中位数倍差 26.6 倍。 完整数据(三类任务 × 全部模型)与方法论:https://ainetcafe.com/costs
接进你的 agent(一行)
ai-netcafe install
# 或者
claude mcp add --transport http ai-netcafe https://ainetcafe.com/mcp
23 个工具会直接出现在 Claude Code / Cursor 里。文档:https://ainetcafe.com/mcp.html
全部能力
| 方法 | 做什么 |
|---|---|
search |
联网搜索(自托管元搜索,无追踪) |
read |
任意网页 → LLM 友好的 Markdown |
diagram / diagram_url |
Mermaid/PlantUML/Graphviz → SVG/PNG |
transcribe |
音频 URL → 文字稿(开源 Whisper,自托管) |
grammar |
30+ 语言语法/拼写/风格检查 |
pdf |
网页或 HTML → 打印级 PDF |
translate |
文本翻译 |
ask / compare |
单模型问答 / 多模型对比(含真实计量成本与延迟) |
models / costs |
模型标价 / 同题实际收费 |
remember / recall |
跨会话记忆;带 Key 时跨设备、跨 agent 共享 |
build |
一句话造一个真正在线的应用,约 100 秒返回 HTTPS 网址,归你所有 |
许可
MIT。成本数据集以 CC BY 4.0 发布。
Release files for ai-netcafe 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_netcafe-1.2.4.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_netcafe-1.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.1 kB
Release files / ai_netcafe-1.2.4.tar.gz
| Download URL | ai_netcafe-1.2.4.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a72bd5a815d807b2e76fea1e65358615547da9fd842e94a7e22b870d3e0b4f96
|
|
BLAKE2b-256 checksum How to use checksums |
370b17d8ac3a1d03e667a6d8007bb7c1c633d65790fb28d55e1efb585f9cd8af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / ai_netcafe-1.2.4-py3-none-any.whl
| Download URL | ai_netcafe-1.2.4-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba740eb901e7ee05b75d0d57ad4cb404e602bb3b3d06556754d03ae961ac1dd7
|
|
BLAKE2b-256 checksum How to use checksums |
76795d22cca2533364072d1d6940294982464d70402666787b574dc92d2a225e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|