upAPI
概览
作者提供的说明(英文原文)
All public upAPI operations as MCP tools: web scraping, search, screenshots, PDF, OCR and more.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 235/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 文档、表格与办公
- 你需要填写:UPAPI_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 需要你自己填写:
UPAPI_API_KEY,UPAPI_TOOL_MODE
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
- 打开 Settings → Connectors
- 点击 Add custom connector
- 粘贴下面的地址,然后点击 Add
- 如果要求登录,请登录作者的服务
https://app.upapi.io/api/mcp或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"upapi": {
"command": "npx",
"args": [
"-y",
"@upapi/mcp"
],
"env": {
"UPAPI_API_KEY": "your-value",
"UPAPI_TOOL_MODE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http upapi https://app.upapi.io/api/mcp或者在你的电脑上运行
claude mcp add upapi --env UPAPI_API_KEY=your-value --env UPAPI_TOOL_MODE=your-value -- npx -y @upapi/mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"upapi": {
"url": "https://app.upapi.io/api/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"upapi": {
"command": "npx",
"args": [
"-y",
"@upapi/mcp"
],
"env": {
"UPAPI_API_KEY": "your-value",
"UPAPI_TOOL_MODE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"upapi": {
"type": "http",
"url": "https://app.upapi.io/api/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"upapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upapi/mcp"
],
"env": {
"UPAPI_API_KEY": "your-value",
"UPAPI_TOOL_MODE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
- 打开网页版 ChatGPT → Settings → Connectors (Apps)
- 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
- 粘贴下面的地址,起个名字,然后保存
- 如果要求登录,请登录作者的服务
https://app.upapi.io/api/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- upAPI API key (create one at https://app.upapi.io/dashboard/api-keys)
UPAPI_TOOL_MODEenvTool table: full (default), directory (curated named tools) or compact.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 DevinoSolutions 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
端点有响应
尚未检查;我们会轮流检查各个端点
- … 尚未检查
使用 OAuth 登录
尚未检查;我们会轮流检查各个端点
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3547 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3547 个服务器的 33% 更新
- 基础检查结果等于或优于此分类中其他 3547 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
upAPI 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:UPAPI_API_KEY
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.2.0)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@upapi/mcp
upAPI (upapi.io) is an API marketplace and gateway. One API key and one
pooled quota call every operation in the catalog — social media, search, maps, finance,
developer tools, file and browser operations — over a single uniform HTTP contract, so
integrating the tenth API costs no more than the first.
What it is not: not a workflow or orchestration engine, not an LLM provider, and not a
local scraping library. Each call is one hosted operation on
api.upapi.io; chaining calls
is up to your code or your agent.
Canonical URL: https://upapi.io · Docs: https://upapi.io/docs · Agent index:
https://upapi.io/llms.txt
Every public upAPI operation as an MCP tool — web search, SERP, social profiles, dev-tool lookups, geo/finance data — so an agent can call them directly.
There are two ways to connect, and they differ only in how a call is authenticated:
| Local (stdio) | Hosted (HTTP) | |
|---|---|---|
| Endpoint | npx @upapi/mcp | https://app.upapi.io/api/mcp |
| Auth | your upapi_ API key | sign in with your upAPI account (OAuth) |
| Runs | on your machine | on upAPI |
| Best for | scripts, CI, self-hosted agents | Claude, IDEs, anything that speaks remote MCP |
Both expose the same tools with the same schemas, and both bill the same quota.
Hosted — no install
Point any MCP client that supports remote servers at:
https://app.upapi.io/api/mcp
It will walk you through signing in to upAPI in a browser; there is no key to copy. With Claude Code:
claude mcp add --transport http upapi https://app.upapi.io/api/mcp
Local — API key
Create a key by asking your agent to run create_api_key over the hosted connection, or on the API keys page, then:
claude mcp add upapi -e UPAPI_API_KEY=upapi_xxx -- npx -y @upapi/mcp
Claude Desktop (claude_desktop_config.json), Cursor, and Windsurf take the same thing as JSON:
{
"mcpServers": { "upapi": { "command": "npx", "args": ["-y", "@upapi/mcp"], "env": { "UPAPI_API_KEY": "upapi_xxx" } } } }
| Variable | ||
|---|---|---|
UPAPI_API_KEY | required | an upapi_ key |
UPAPI_BASE_URL | optional | gateway origin, defaults to https://api.upapi.io |
UPAPI_TOOL_MODE | optional | compact (default), directory, claude or full — see Tools |
The key is never validated locally — only checked for presence, so a missing one fails immediately with a readable message instead of surfacing later as an unexplained 401 inside a tool call. Whether a key is real, expired, or over quota is answered at the gateway, the single place that answers it for every machine caller.
Tools
The hosted endpoint serves a compact table by default: two meta-tools plus a few always-on operations, a few kilobytes in total.
| Tool | What it does |
|---|---|
search_ops | Find operations by intent — returns slug, description, parameters, and quota cost |
call_op | Run one operation by slug: { "slug": "github-repo.get", "input": { … } } |
A tool table is re-sent as context on every turn, so one tool per operation means tens of kilobytes of JSON Schema per turn and a table large enough to measurably degrade tool selection. search_ops + call_op stays flat as the catalog grows. web-search.post, github-repo.get, and wikipedia-article.get stay on the table as full tools so the common case needs no discovery round-trip.
There are two other tables. ?tools=full gives every operation its own tool:
claude mcp add --transport http upapi 'https://app.upapi.io/api/mcp?tools=full'
?tools=directory gives a curated set of 11 named tools for the flagship operations — page-to-Markdown, screenshot, HTML-to-PDF, PDF text, OCR, transcription, GitHub repo, npm package, Wikipedia, currency — with read tools and write tools listed separately and no call_op. That is the shape AI-directory review criteria ask for (a catch-all dispatcher with a target parameter is a rejection, and so is a listing that advertises scraped sources, which is why the Maps trio and web search stay callable but are not listed there), and it is what the Claude Desktop Extension ships with. ?tools=claude is the same shape over the 8 operations upAPI computes itself (page-to-Markdown, screenshot, HTML-to-PDF, PDF text, OCR, transcription and its result, text analysis) — the Claude connector listing. The local stdio server takes the same names in UPAPI_TOOL_MODE, defaulting to compact — the same few-kilobyte shape the hosted endpoint defaults to. full remains available (UPAPI_TOOL_MODE=full) as the rollback for a client already configured against the one-tool-per-operation shape this server used to default to.
Every mode reaches exactly the same operations — the mode changes what is advertised, never what is allowed. Every tool in every mode carries readOnlyHint, destructiveHint, idempotentHint and openWorldHint, derived from what the worker does rather than from the slug's verb suffix. Operations are named after their slug with . and - replaced by _ (web-search.post → web_search_post), and each advertises the operation's real JSON Schema (formats, bounds, defaults, nullability), because that schema is generated from the worker's own model and passed through untouched.
The hosted server reaches the whole public catalog in every mode; since 2026-09-26 it withholds no category. The local (stdio) server and the Desktop Extension catch up in the next release: the published 0.2.0 bundles 63 operations and still withholds Social Media and Utility in directory mode.
directory mode only changes what is ADVERTISED — the curated flagship set a public listing (like the Claude Desktop Extension) shows.
Descriptions carry the quota cost, so an agent can budget:
Search the web… upAPI operation
web-search.post(Search). Costs 25 units of monthly quota
per call.
A failed operation comes back as a normal tool result with isError: true and text leading with upAPI's public error code — RATE_LIMITED, INVALID_INPUT, UPSTREAM_UNREACHABLE. A rate limit also states the wait in seconds. Nothing about a failing operation breaks the session.
No outputSchema is declared, deliberately: MCP requires a server that declares one to return matching structuredContent, and these outputs describe live third-party payloads. One unexpected null would turn a successful call into a protocol error.
Use it from Mastra
The tools work in a Mastra agent directly, without an MCP transport in between. @mastra/core and @mastra/mcp are optional peer dependencies — install them yourself, and import the bindings from the /mastra subpath. Nothing else in this package touches Mastra, which is what keeps a plain npm i @upapi/mcp (and the desktop-extension bundle built from it) small.
import { Agent } from '@mastra/core/agent';
import { createGatewayCaller } from '@upapi/mcp'; import { createUpapiTools } from '@upapi/mcp/mastra';
const agent = new Agent({ name: 'researcher', instructions: 'Research topics using upAPI.', model: /* … */, tools: createUpapiTools({ caller: createGatewayCaller({ apiKey: process.env.UPAPI_API_KEY! }), }), });
Narrow the table with filter when an agent should only see part of the catalog:
createUpapiTools({
caller, filter: (op) => op.category === 'Search', });
createUpapiMcpServer — Code Mode by default
createUpapiMcpServer builds a Mastra MCPServer (@mastra/mcp, also an optional peer). Its default tool surface is Code Mode: search_tools + execute_typescript instead of one tool per operation — measured on the full 99-operation catalog, tools/list drops from 111,016 bytes to 1,069 bytes (99 tools → 2), because the table no longer grows with the catalog at all.
import { createGatewayCaller } from '@upapi/mcp';
import { createUpapiMcpServer } from '@upapi/mcp/mastra';
const server = createUpapiMcpServer({ caller: createGatewayCaller({ apiKey: process.env.UPAPI_API_KEY! }), });
await server.startStdio();
- `search_tools({ query? })` finds the operations this connection can reach and returns them as
declare function external_ (...)TypeScript signatures. - `execute_typescript({ code })` runs a short TypeScript program in an isolated QuickJS sandbox (
@mastra/quickjs, another optional peer — no native binary, no filesystem/network/process access beyond the injectedexternal_*functions). Batch several operations into one round trip withPromise.allinstead of one tool call each. Killed after 30 seconds. A program that computes for more than 1.5 seconds without awaiting anexternal_*call, or for more than 5 seconds in total across all such stretches, is stopped withCPU_BUDGET_EXCEEDED: ..., because the sandbox shares the Node event loop with every other request the process serves. Needsquickjs-emscripten0.31.0(the exact version@mastra/quickjs0.1.1 resolves) installed next to it. Both are loaded on the firstexecute_typescriptcall, so a server that never runs one (or uses thefullsurface) does not need them installed.
Every external_* call resolves to the exact same createUpapiTools(options) tool object the full surface (below) calls — there is no second auth path. A denied or failed operation call surfaces inside the sandbox as a thrown Error(" : "), so the guest program's own try/catch can inspect and branch on the code; arguments that fail an operation's input schema throw INVALID_INPUT: the same way. That is separate from a malformed execute_typescript input, which fails the call itself before the sandbox ever starts.
Set MCP_TOOL_SURFACE (or pass surface) to change what is advertised:
| Value | Advertises | When to use it |
|---|---|---|
codemode _(default)_ | search_tools + execute_typescript | Any model that can write a few lines of TypeScript |
full | One tool per operation — today's createUpapiTools table | Rollback switch, or a client already built against it |
both | The union of the two | Exercising or migrating off of one surface mid-transition |
MCP_TOOL_SURFACE=full node my-server.js # one tool per operation, the pre-Code Mode shape
createUpapiMcpServer({ caller, surface: 'full' }); // same thing, set in code instead of env
instructions on the server carries the Code Mode contract automatically whenever a codemode tool is on the table (codemode and both) — a model was not told to write TypeScript against search_tools/execute_typescript otherwise.
Build your own
只显示了开头部分;其余内容请在仓库中阅读