跳到正文

正在自动登录…

← 返回项目列表

goodnight000/api-anything

网站转API代理集成

API Anything 是一个本地工具,能将任意网站转化为可供 AI 代理调用的 API。它通过观察网站自身的前端请求来学习操作,并在网站变化时自动修复。适用于希望让代理以 API 方式访问网站而非驱动浏览器的开发者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/17 13:41:15 · 查看原文

值得看TypeScript应用与服务
累计 Stars
1,339
当前热度
7~30 天 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/17 13:41:15

使用方式

通过命令行使用,支持 MCP 和 TypeScript 调用。

查看 README 依据
# API Anything [![CI](https://github.com/goodnight000/api-anything/actions/workflows/ci.yml/badge.svg)](https://github.com/goodnight000/api-anything/actions/workflows/ci.yml) **Teach your agent a website once. After that, it calls the site like an API instead of driving a browser.** API Anything watches a site's own page make a request and learns which parts of it are your inputs. It saves the result as an operation. Your agent calls that operation with new inputs over MCP, the CLI or TypeScript, and gets JSON back over plain HTTP.
部署要求

需要 Node.js 22.13+,创建操作时需要 Chromium 浏览器。

查看 README 依据
Paste this into Claude Code, Codex or another coding agent: ```text Set up API Anything for me: https://github.com/goodnight000/api-anything/blob/main/INSTALL.md ``` The agent checks Node 22.13+, builds and installs the `api-anything` command, confirms that a call works, then connects the MCP server and the skill to itself. Restart the agent, then ask it something like "What does Goodreads rate Piranesi?" <details> <summary>Install by hand</summary> The package isn't on npm yet. Don't use `npm install -g github:...`, because it fails under npm 11. ```sh
`reason` and a `next` step. Connect an agent with `codex mcp add api-anything -- api-anything mcp`, `claude mcp add --scope user api-anything -- api-anything mcp`, or this MCP entry: ```json { "mcpServers": { "api-anything": { "command": "api-anything", "args": ["mcp"] } } } ``` </details> Over MCP an agent **calls** operations, using four tools: `list_sites`, `list_operations`, `call_operation` and `login`. To **create** operations, an agent needs a shell and the [skill](skills/api-anything/SKILL.md). A Chromium browser is needed only for creating operations
已知限制

仅支持已学习的操作,不覆盖所有网站功能;不解决 CAPTCHA;不包含写操作。

查看 README 依据
- It knows only the operations it was taught. It doesn't support every feature of every site. - Repair can fail. There is no CAPTCHA solving, and if a site challenges real Chrome, you have to clear the challenge by hand. - No write operations are bundled. LinkedIn messaging isn't bundled and hasn't been tested against LinkedIn. Writes are tested only against a local fixture, and they need `--allow-writes`. An HTTP 2xx doesn't prove a message was delivered. - Credentials stay in `~/.api-anything`, and specs hold references, never values. Read each

README

正在加载 README…

收录信息

仓库创建时间
2026/9/27 19:44:26
首次达标收录
2026/10/17 13:36:01
统计更新时间
2026/10/22 19:21:10

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

模型评估

值得看加权总分 4.1 / 5

新颖度
3.9
实用价值
4.3
成熟度
4.2
实质含量
4.0

由 Jev 模型根据仓库描述与 README 评估,2026/10/17 13:36:01 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/21 09:32:27
许可证标识
MIT
Fork 数
140
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目