Polydev

io.github.polydev-ai由 GitHub 帳號 polydev-ai 發布v1.12.0更新於 Nov 16, 2026

Every AI model, inside the app you already use: ask GPT, Claude, Gemini or Grok, and see what paid.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取媒體與設計AI 與機器學習

概覽

AI 產生的概覽

讓助手在原本的應用程式內呼叫其他 AI 模型(GPT、Claude、Gemini、Grok),並顯示每個回答由哪種憑證付費。

可以做什麼
  • 以提示詞詢問單一模型、多個模型或預設模型組,回傳每個回答並標註由什麼付費;舊名稱 get_perspectives 行為相同。
  • 列出目前可用的模型及各自的付費來源,並在本機伺服器上查看或發起 ChatGPT 方案登入。
  • 登入 Polydev 並查看本機哪些來源已就緒。
  • 透過 xAI 的 Grok 搜尋 X(Twitter)上的近期貼文與討論。
  • 對收到的回答排序(最佳在前),並用 OpenAI 或 Google 模型產生圖片。
適用情境
適合在不離開目前應用程式的情況下取得另一個模型的意見,例如請 GPT 審查一次資料庫遷移,或讓多個模型比較方案。也適合比較回答並記錄哪一個最有幫助。
執行需求
可使用託管端點並以 OAuth 登入,或使用 npm 套件 polydev-ai 在本機執行,需要 Node.js 20 或更新版本以及免費的 Polydev 帳號。本機登入需要瀏覽器,沒有瀏覽器的機器可改用環境變數 POLYDEV_USER_TOKEN(以 pd_ 開頭的權杖)。search_x 需要自備 xAI API 金鑰;使用 ChatGPT 方案需在本機伺服器完成 Continue with ChatGPT。
安裝前請注意
提示詞會傳送給你選擇的模型供應商,只應包含願意分享的內容。費用由你自己的 ChatGPT 方案、本機 CLI 方案或自備的供應商 API 金鑰負擔;免費額度為 10 次請求、總額不超過 1 美元,且不含 search_x。排序結果會進入公開排行榜。本機伺服器會呼叫你已登入的 Claude Code 或 Codex CLI,權杖會保存在本機磁碟。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Polydev,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.polydev-ai%2Fpolydev/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "polydev": {
      "type": "http",
      "url": "https://polydev.ai/mcp"
    }
  }
}

README

Polydev

[Polydev logo]

Every AI model, inside the app you already use.
Ask GPT from Claude. Ask Claude from ChatGPT. Make an image with Nano Banana from Codex.

[npm version] [License: Apache-2.0]


What it is

Polydev is an MCP server: a tool your app calls. It doesn't replace your app's model.

Claude, ChatGPT, Claude Code, Codex, Cursor, Copilot, Cline, Windsurf, Zed and other MCP clients keep their own model and their own sign-in. When you want another model for a task, say "have GPT check this migration", the app calls Polydev, which asks that model and returns the answer. Name one model, several, or none to use your default set.

Your app (its own model) -> Polydev ask_model -> GPT, Claude, Gemini, Grok... -> answer + what paid for it

Every answer ends with a "Paid by:" line, so you always know whether your ChatGPT plan, your own key or Polydev's free requests paid for it.

Tools:

ToolWhat it does
ask_modelSend a prompt to one model (model), a list (models) or your default set, and get each answer with what paid for it. get_perspectives is the older name and still works
list_modelsList the models you can reach and what pays for each
search_xSearch X (Twitter) with xAI's Grok (needs your own xAI key)
rank_perspectivesRecord which answer helped most; rankings feed the public leaderboard
generate_imageMake an image with OpenAI or Google models, such as Nano Banana (local server only)
connect_chatgpt_plan / chatgpt_plan_statusContinue with ChatGPT so your ChatGPT plan pays for OpenAI models (local server only)
login / get_auth_statusSign in to Polydev in the browser; show what's connected (local server only)

Add it without installing anything

Polydev is a hosted MCP server. Add this URL to your app and sign in once (OAuth):

https://polydev.ai/mcp
  • Claude (web, desktop, mobile): Settings → Connectors → Add custom connector, paste the URL, then Connect.
  • ChatGPT: add a custom MCP server in the apps settings, paste the URL, choose OAuth.
  • Claude Code: claude mcp add --transport http polydev https://polydev.ai/mcp, then /mcp to sign in.
  • Codex: codex mcp add polydev --url https://polydev.ai/mcp, then codex mcp login polydev.
  • Cursor, VS Code, Windsurf and others: one-click links and config at polydev.ai/install.

The hosted server answers with your API keys, your OpenRouter key or the free requests. To also use your ChatGPT plan, the Claude Code or Codex you're signed in to on this machine, and image models, install the local server below. (ChatGPT plan use on the hosted server is waiting on OpenAI's approval.)


Install locally (npm)

You need Node.js 20 or newer and a free Polydev account.

Claude Code

sh
claude mcp add polydev -- npx -y polydev-ai@latest

Codex

Add to ~/.codex/config.toml:

toml
[mcp_servers.polydev]command = "npx"args = ["-y", "polydev-ai@latest"]tool_timeout_sec = 300

Some models take a while to answer, so raise the tool timeout.

Cursor, Cline, Windsurf

Add to your client's MCP config (for Cursor, ~/.cursor/mcp.json):

json
{  "mcpServers": {    "polydev": {      "command": "npx",      "args": ["-y", "polydev-ai@latest"]    }  }}

GitHub Copilot in VS Code

Add to .vscode/mcp.json:

json
{  "servers": {    "polydev": {      "type": "stdio",      "command": "npx",      "args": ["-y", "polydev-ai@latest"]    }  }}

Zed and other MCP clients

Use the same command, npx -y polydev-ai@latest, as a stdio server in the client's MCP settings.


Sign in

The hosted server signs you in with OAuth when your app first connects. For the local server, ask your agent to run the Polydev login tool. It opens your browser, and once you sign in the token is saved on this machine (in ~/.polydev.env).

Other ways:

  • From a terminal: npx -p polydev-ai polydev-login
  • Advanced, for machines without a browser: copy a token from polydev.ai/dashboard/mcp-tokens and set it in the server's environment:
json
"env": { "POLYDEV_USER_TOKEN": "pd_your_token_here" }

In sandboxes without a browser, pass the token to the login tool as user_token.

Continue with ChatGPT (local server)

To let your ChatGPT plan (Plus or Pro) pay for OpenAI models, ask your app to run connect_chatgpt_plan, or from a terminal:

sh
npx polydev-ai chatgpt login     # also: chatgpt status | chatgpt models | chatgpt logout

This uses OpenAI's Sign in with ChatGPT. Your tokens stay on this machine in ~/.polydev (file mode 0600) and never reach Polydev's servers. Usage counts against your plan's limits, which you can set in ChatGPT's usage settings. If you hit the limit, Polydev says so and the answer comes from your API key or the free requests instead.


Usage

Ask your agent in plain words:

Have GPT check this migration before I run it on prod.Ask Gemini and Grok whether Redis or Postgres suits session storage here.Make a 1200x630 cover for this post with Nano Banana.

Or call the tool directly:

json
{  "tool": "ask_model",  "arguments": {    "model": "gpt-6.1-sol",    "prompt": "Check this migration for anything that could lock the table: <sql>"  }}

Include the relevant code, errors and constraints in the prompt. The other model only sees what you send.


Cost: free

Polydev has no plans, tiers or credits, and it charges nothing. The tokens are paid by your own access:

  • Your ChatGPT plan (local server), through Continue with ChatGPT. See above.
  • Your local CLIs (local server). Polydev runs the Claude Code (claude -p) or Codex you're already signed in to, unmodified and under your own login, with your settings, hooks and MCP servers turned off for that call. Polydev never reads their credentials. These calls count against your own plan's limits. Polydev skips the CLI of the app that called it.
  • Your own API keys. Add keys for OpenAI, Anthropic, Google, xAI, OpenRouter, Cerebras and others at polydev.ai/dashboard/models. The provider bills you directly.
  • A one-time free allowance. Every account gets 10 requests on Polydev's keys, never more than $1 in total, served by each provider's newest low-cost model. search_x is not part of it.

Models come from a live catalogue that is updated nightly. See polydev.ai/docs for the current list.


Privacy

Your prompts go to the model providers you chose. Prompts from connected apps are used only to answer you: never for training, never in datasets, never sold. Prompt and response text is deleted after 30 days. Disconnect an app at any time in Dashboard → Connected apps. Full policy: polydev.ai/privacy.


Links

License

Apache-2.0.

來源:README.md,提交 095bb3b

工具

10

get_auth_status

Polydev status

Show whether this machine is signed in to Polydev, which sources on this machine are ready (Claude Code, Codex, ChatGPT plan) and the configured models. When this machine is not signed in, it opens Polydev sign-in in the browser.

輸入參數user_token

login

Sign in to Polydev

Sign in to Polydev in your browser and save the token on this machine, so you do not copy it by hand. In sandboxes without a browser, pass user_token instead.

輸入參數user_tokenopen_browsertimeout_seconds

ask_model

Ask models

Send a prompt to one or more AI models and return each answer, labelled with what paid for it. With model or models, those models are asked. Without them, your default set is asked: sources on this machine first (your ChatGPT plan for OpenAI models when connected, then Claude Code and Codex under your own login, never the agent that called it), then models through Polydev with your own API keys, OpenRouter or Polydev free requests.

輸入參數modelmodelsprompt必填user_token

get_perspectives

Ask models (old name)

Old name of ask_model. Same inputs and the same behaviour.

輸入參數modelmodelsprompt必填user_token

list_models

List models

List the models this user can reach right now and what pays for each: the ChatGPT plan, Claude Code and Codex on this machine, and models through Polydev.

無需輸入參數。

chatgpt_plan_status

ChatGPT plan status

Show whether your ChatGPT plan is connected on this machine for OpenAI models, and how to connect or disconnect it.

無需輸入參數。

connect_chatgpt_plan

Continue with ChatGPT

Continue with ChatGPT: start ChatGPT sign-in so that OpenAI models asked through ask_model use your ChatGPT plan. Returns the sign-in link right away (it also tries to open the browser); call chatgpt_plan_status afterwards for the result. The sign-in and its tokens stay on this machine.

輸入參數timeout_seconds

rank_perspectives

Rank answers

Rank the answers you got from ask_model, best first, when the user asks for it or agrees. Rankings feed the public leaderboard at https://www.polydev.ai/leaderboard. Pass your own model ID as base_model so the ranking records which model judged.

輸入參數base_modelmodel_scoresfeedback_textranked_models必填

search_x

Search X

Search X (Twitter) for recent posts and discussions with xAI's Grok. Needs your own xAI API key, added at https://www.polydev.ai/dashboard/models; it is not part of the free allowance. Returns a summary plus links to the posts.

輸入參數modelquery必填user_token

generate_image

Generate image

Generate an image with OpenAI or Google Gemini. Uses your own API key if you added one at https://www.polydev.ai/dashboard/models; otherwise one image takes one request from your free allowance (provider default model, standard settings). Saves a PNG under ~/.polydev/images.

輸入參數sizeprompt必填qualityprovideruser_token

版本歷史

2
  1. v1.12.0最新Nov 7, 2026
  2. v1.8.72Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。