AI网吧工具箱
可用工具 (23 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
list_apps 1 个参数
List the open-source AI applications hosted and ready to run at AI NetCafé (ainetcafe.com). Each one normally requires local setup (Docker/Python + your own model API key); here they run pre-configured. Use this to find a tool for a task like translating a PDF with formulas intact, generating a PowerPoint file, polishing an academic paper, or running an autonomous research report. Do not call this first when the request already clearly matches compare_models, translate_pdf, deep_research, or make_slides; call that task tool directly.
该工具无需必填参数,直接调用即可
get_app 1 个参数 需填 1 项
Full details of one hosted application: what it does, how to use it, measured benchmark scores, source repository, and the URL a human can open to run it.
必填参数:slug
ask_model 4 个参数 需填 1 项
Send a prompt to one specific large language model and get the answer plus its exact cost in USD. Useful when you want a second opinion from a different model, or a cheaper model for a bulk subtask.
必填参数:prompt
compare_models 3 个参数 需填 1 项
Run one prompt across multiple LLMs in parallel and return every answer side by side with its real measured cost and latency. This answers "which model should I actually use for this kind of task?" with data instead of guesswork — useful before committing a long job to an expensive model.
必填参数:prompt
list_models 1 个参数
List every model callable through AI NetCafé with its input/output price per million tokens, so you can pick by cost as well as capability.
该工具无需必填参数,直接调用即可
submit_project 3 个参数 需填 1 项
Submit a GitHub repository (a web app, typically AI-built) to the AI NetCafé hosting platform. The automated pipeline reviews it, containerizes it, deploys it on a dedicated subdomain with HTTPS and a pre-wired multi-LLM gateway, lists it in the store for humans, and exposes it to AI agents. Every use is metered and the author accrues a revenue share. Use this when a user says "deploy my project", "publish my app somewhere", or "I built something with AI, where can people use it?". Free to submit.
必填参数:repo
project_status 1 个参数 需填 1 项
Check where a repository stands on AI NetCafé: live (with its public page and app URL), in the deployment pipeline, rejected (with the reason), or unknown. Use after submit_project.
必填参数:repo
remember 3 个参数 需填 1 项
Persist a durable memory: an architecture decision, a stable user preference, a verified bug fix, or an important discovery. Anonymous callers get a small per-network memory pool; callers sending an AllRouter key (Authorization: Bearer sk-...) get a large pool shared across ALL their machines and agents — the same key on a laptop's Claude Code and a desktop's Codex recalls the same memories. Do not store secrets or raw logs.
必填参数:content
recall 3 个参数
Retrieve previously stored memories, optionally filtered by search query and/or project. Call at the start of work on a known project to restore context: why decisions were made, known fixes, preferences.
该工具无需必填参数,直接调用即可
forget 1 个参数 需填 1 项
Permanently delete one memory you own (id from recall). Use when a memory is wrong or sensitive.
必填参数:id
web_search 2 个参数 需填 1 项
Search the live web through a self-hosted SearXNG meta-search (aggregates dozens of engines, no tracking). Returns titles, URLs and snippets. Use when you need current information or sources.
必填参数:query
fetch_page 1 个参数 需填 1 项
Fetch any public URL and return LLM-ready clean Markdown (rendered via Crawl4AI, handles JS pages). Use after web_search to read a source, or to ingest any page for analysis.
必填参数:url
translate_text 3 个参数 需填 2 项
Translate text between languages using a self-hosted LibreTranslate engine (fully offline, no big-tech API). For whole PDFs with layout preserved, use translate_pdf instead.
必填参数:text、target
model_costs 1 个参数
What one call actually costs on each model, measured. Vendors publish per-million-token list prices, but a call's cost depends on how many tokens the model chooses to emit — models differ by an order of magnitude on the same prompt. standard_bench sends an IDENTICAL prompt to every model, so the difference is the model, not the workload — use that to choose a model before bulk work. production_mixed is real traffic and is NOT comparable across models. Free to cite, CC BY 4.0.
该工具无需必填参数,直接调用即可
render_diagram 3 个参数 需填 1 项
Turn diagram-as-code into an image: Mermaid, PlantUML, Graphviz/DOT, C4, Excalidraw and 20+ more (self-hosted Kroki). Returns a hosted SVG/PNG URL you can embed directly in Markdown or HTML.
必填参数:source
check_grammar 2 个参数 需填 1 项
Check text for grammar, spelling and style issues in 30+ languages (self-hosted LanguageTool). Returns each issue with a suggested replacement — apply them to produce corrected text.
必填参数:text
transcribe_audio 2 个参数 需填 1 项
Fetch an audio file from a URL and transcribe it to text with open-source Whisper (100 languages, self-hosted). Good for voice memos, podcast clips and meeting recordings up to ~15 MB.
必填参数:url
convert_to_pdf 2 个参数
Print-quality PDF from a URL or raw HTML via self-hosted Gotenberg (headless Chromium). Returns a hosted PDF download URL.
该工具无需必填参数,直接调用即可
deep_research 2 个参数 需填 1 项
Start an autonomous web research task. The agent plans sub-questions, searches the web, reads the sources and writes a report with citations — this is real research, not a single model call, and takes 2-5 minutes. Returns a job_id immediately; poll check_job to get the report. Use this when you need sourced, current information rather than what a model already knows. Powered by gpt-researcher (29k stars) hosted at AI NetCafé.
必填参数:topic
check_job 1 个参数 需填 1 项
Get the status or result of a job started by deep_research, translate_pdf, or make_slides. Poll every 15-30 seconds until status is "done" or "error". While work is pending, follow retry_after_seconds and next_action; when complete, prefer structured_result when present.
必填参数:job_id
translate_pdf 3 个参数 需填 1 项
Translate a PDF from a URL while preserving the original layout — formulas, figures and two-column academic typesetting stay intact, unlike ordinary translators that flatten the document. Returns a job_id; poll check_job for the download links (translated-only and bilingual side-by-side). Typically 20-60 seconds for a few pages. Powered by PDFMathTranslate (36k stars) hosted at AI NetCafé.
必填参数:url
make_slides 4 个参数 需填 1 项
Turn a topic or an outline into a real downloadable .pptx file — not a link into someone's web editor. Returns a job_id; poll check_job for the download URL. Usually 1-3 minutes. Powered by Presenton (open source) hosted at AI NetCafé.
必填参数:topic
build_app 4 个参数 需填 1 项
Turn one plain-language description into a LIVE single-page web tool: code is generated, deployed to managed hosting with HTTPS, and listed — you get the public URL in ~1-2 minutes. Best for tool-style apps: calculators, converters, checklists, timers, generators, small games. Async — poll with check_job.
必填参数:description
服务介绍
ai-netcafe
托管开源AI应用程序,可以通过MCP由您的代理调用——也可以从终端调用。
npx ai-netcafe compare "dedupe a JS array preserving order"
MODEL COST LATENCY
deepseek-v4-flash $0.00012 7.6s
gemini-3.5-flash $0.000341 10.0s
GLM5.2 $0.001828 9.0s
cheapest: deepseek-v4-flash fastest: deepseek-v4-flash
15.2× between cheapest and priciest
目的:费用是按实际计量的,而不是报价
上面的每个数字都是从上游usage响应中读取的,而不是根据公布的价格列表推导出来的。这种区别比听起来更重要——在构建这个过程中,我们发现对于几个模型来说,显而易见的转换公式是错误的(一个相差约9倍,另一个相差约3倍),只有通过账单差额测量才能与实际情况相符。完整方法和数据。
将其连接到代理
npx ai-netcafe install # prints config for Claude Code / Desktop / Cursor
或者直接:
claude mcp add --transport http ai-netcafe https://ainetcafe.com/mcp
代理获得的技能
| 技能 | 功能描述 |
|---|---|
compare_models |
在多个大语言模型上使用同一提示词,提供真实的计量成本和延迟 |
translate_pdf |
翻译PDF时保持公式、图表和双栏布局不变 |
deep_research |
规划子问题、搜索、阅读来源并撰写带有引用的报告 |
make_slides |
生成可下载的真实.pptx文件 |
list_apps / get_app |
托管开源应用目录,附带源代码仓库 |
ask_model / list_models |
单个模型调用;包含价格的模型列表 |
这些功能基于开源项目——PDFMathTranslate, GPT Academic, GPT Researcher, NextChat, LobeChat——预先配置好托管,因此您可以无需安装Docker、Python或提供API密钥即可尝试它们。
CLI命令
npx ai-netcafe compare "<prompt>" # multi-model comparison with real costs
npx ai-netcafe ask "<prompt>" # single model
npx ai-netcafe apps # hosted apps + source repos
npx ai-netcafe models # models with per-million prices
npx ai-netcafe install # MCP config for your agent
配额
匿名调用会获得少量免费配额——足够用来试用。高消耗技能(整篇PDF翻译、深度研究、幻灯片生成)需要账户或您自己的密钥,因为其中一项运行可能需要数十到数百次模型调用。
export ALLROUTER_API_KEY=sk-... # unlimited, billed to you
链接
- 文档: https://ainetcafe.com/mcp.html
- 实时成本比较(每日更新): https://ainetcafe.com/lab/llm-real-cost-comparison
- A2A代理卡: https://ainetcafe.com/.well-known/agent-card.json
MIT