polydev
v1.12.0Every AI model, inside the app you already use: ask GPT, Claude, Gemini or Grok, and see what paid.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
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.
| Parameter | Type | Description |
|---|---|---|
user_token | string | Polydev token (starts with pd_). Optional: checks this token if given, otherwise the saved one. |
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.
| Parameter | Type | Description |
|---|---|---|
open_browser | boolean | Whether to automatically open the browser (default: true) |
timeout_seconds | integer | How long to wait for authentication (default: 300 = 5 minutes) |
user_token | string | Polydev token (pd_...). Use this where browser login is unavailable (sandboxes, containers). Get one at https://www.polydev.ai/dashboard/mcp-tokens |
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.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The prompt to send. Include the relevant code, errors and constraints. |
model | string | Optional: one model ID to ask, for example a model shown by list_models. |
models | array | Optional: several model IDs to ask. Without model or models, your default set is asked. |
user_token | string | Polydev token (starts with pd_). Optional when POLYDEV_USER_TOKEN is set or you have run the login tool. |
get_perspectives Ask models (old name)
Old name of ask_model. Same inputs and the same behaviour.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The prompt to send. Include the relevant code, errors and constraints. |
model | string | Optional: one model ID to ask, for example a model shown by list_models. |
models | array | Optional: several model IDs to ask. Without model or models, your default set is asked. |
user_token | string | Polydev token (starts with pd_). Optional when POLYDEV_USER_TOKEN is set or you have run the login tool. |
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.
| Parameter | Type | Description |
|---|---|---|
timeout_seconds | integer | How long the sign-in stays open (default 300) |
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.
| Parameter | Type | Description |
|---|---|---|
ranked_models * | array | Model IDs ranked best to worst, exactly as shown in the ask_model output |
base_model | string | Your own model ID (the model making this ranking) |
feedback_text | string | Optional: why you ranked them this way |
model_scores | object | Optional: a score from 1 to 10 per model ID |
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.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to search for on X. Can be keywords, questions, or topics (e.g. 'MCP servers', 'what are people saying about Claude Code', '@elonmusk AI') |
model | string | Optional xAI model ID. Leave empty for the default. |
user_token | string | Polydev token (starts with pd_). Optional when POLYDEV_USER_TOKEN is set or you have run the login tool. |
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.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Description of the image to generate (e.g. 'a futuristic dashboard with neon lights', 'logo for a developer tools company') |
provider | string | Which provider to use (default: gemini) |
quality | string | Image quality (OpenAI with your own key only). Default: auto |
size | string | Image size (OpenAI with your own key only). Default: 1024x1024 |
user_token | string | Polydev token (starts with pd_). Optional when POLYDEV_USER_TOKEN is set or you have run the login tool. |