Polydev

io.github.polydev-aiPublished by GitHub account polydev-aiv1.12.0Updated Nov 16, 2026

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

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingMedia & DesignAI & ML

Overview

AI-generated overview

Lets an assistant ask other AI models (GPT, Claude, Gemini, Grok) from inside its own app and see which credential paid for each answer.

What you can do
  • Ask one model, a list of models, or a default set with a prompt and get each answer labelled with what paid for it; the older get_perspectives name does the same.
  • List the models currently reachable and what funds each one, and check or start ChatGPT plan sign-in on the local server.
  • Sign in to Polydev and check which sources on the machine are ready.
  • Search X (Twitter) for recent posts and discussions through xAI's Grok.
  • Rank the answers received, best first, and generate images with OpenAI or Google models.
When to use it
Useful when you want a second opinion from a different model without leaving your current app, for example having GPT review a migration or asking several models to compare options. Also suits comparing answers and recording which one helped most.
Requirements
Either the hosted endpoint with OAuth sign-in, or the local npm package polydev-ai run with Node.js 20 or newer and a free Polydev account. Local sign-in uses a browser, or the POLYDEV_USER_TOKEN environment variable (a pd_ token) on machines without one. Optional own API keys for providers and xAI for search_x; ChatGPT plan use needs Continue with ChatGPT on the local server.
Before you install
Prompts are sent to the model providers you choose, so include only what you are willing to share. Answers are billed to your own ChatGPT plan, local CLI plans or your own provider API keys; the free allowance is 10 requests and at most $1 total, and search_x is excluded. Rankings feed a public leaderboard. The local server runs your signed-in Claude Code or Codex CLIs, and the token is stored on disk.

Installation

In SourceWeft

  1. Open Polydev in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.polydev-ai%2Fpolydev/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "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.

Source: README.md at commit 095bb3b

Tools

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.

Parametersuser_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.

Parametersuser_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.

Parametersmodelmodelspromptrequireduser_token

get_perspectives

Ask models (old name)

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

Parametersmodelmodelspromptrequireduser_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.

Takes no parameters.

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.

Takes no parameters.

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.

Parameterstimeout_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.

Parametersbase_modelmodel_scoresfeedback_textranked_modelsrequired

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.

Parametersmodelqueryrequireduser_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.

Parameterssizepromptrequiredqualityprovideruser_token

Version history

2
  1. v1.12.0LatestNov 7, 2026
  2. v1.8.72Sep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.