Apiany Mcp

io.github.ailingquPublished by GitHub account ailingquv0.1.2Updated Oct 24, 2026

APIAny MCP server for model discovery, pricing, docs, and integration examples.

VerifiedSTDIODesktop onlyDeveloper ToolsAI & ML

Overview

AI-generated overview

Official APIAny MCP server that lets an assistant explore AI models, estimate credit costs, look up docs and generate integration examples.

What you can do
Browse, search and look up public APIAny models by provider, modality, capability and pricing metadata. Estimate credit costs from public pricing data. Fetch compact APIAny documentation context. Generate OpenAI-compatible cURL, Python, JavaScript, Go, Java and PHP examples. Create paid image or video tasks after a key is set and paid usage is explicitly confirmed, and read async task status.
When to use it
Use it when you want to pick an APIAny model, compare credit costs, or get integration code before writing your own calls; the paid task tools are for actually generating images or videos after configuring a key.
Requirements
Runs locally as an npm package, so it needs Node.js and network access. The optional APIANY_BASE_URL variable sets the service address and defaults to the official site. The paid image and video task tools additionally need the APIANY_API_KEY environment variable.
Before you install
The paid task tools spend credits and only run when APIANY_API_KEY is set and paid usage is explicitly confirmed. The server reads the key from the current process environment, so protect it. Model and documentation lookups send requests to the APIAny service.

Installation

In SourceWeft

  1. Open Apiany Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

APIAny MCP

Official MCP server for APIAny model discovery, pricing context, documentation lookup, and OpenAI-compatible integration examples.

APIAny connects agents and developers to 100+ AI models for chat, image, video, and multimodal workflows.

[npm version] [npm package] [release] [license] [Node.js] [MCP server]

Quick Start · Visual Setup · MCP Tools · Agent Skill · Development

English | 中文

[APIAny MCP overview]

What This Repository Provides

APIAny MCP gives AI agents a structured way to understand and use APIAny:

  • Discover public APIAny models by provider, modality, capability, and pricing metadata.
  • Estimate APIAny credits before choosing a model or running a workflow.
  • Fetch compact documentation context from APIAny docs and llms.txt.
  • Generate OpenAI-compatible cURL, Python, JavaScript, Go, Java, and PHP examples.
  • Create image or video generation tasks only when an API key is configured and the user explicitly confirms paid usage.
  • Package an agent skill at skills/apiany-integration so supported agents can learn the APIAny workflow.

Quick Start

Run the server directly with npm:

bash
npx -y @apiany-ai/mcp

Or install and run it from this repository:

bash
git clone [email protected]:ailingqu/ApiAny.AI-MCP.gitcd ApiAny.AI-MCPnpm installnpm start

Visual Setup

1. Install and Start the MCP Server

[Install APIAny MCP with npx]

2. Add APIAny MCP to Your Agent Client

Use this configuration in Claude Code, Cursor, VS Code, or another MCP-compatible client:

[APIAny MCP client configuration]

json
{  "mcpServers": {    "apiany": {      "command": "npx",      "args": ["-y", "@apiany-ai/mcp"],      "env": {        "APIANY_BASE_URL": "https://apiany.ai"      }    }  }}

For paid image or video task tools, also set APIANY_API_KEY:

json
{  "APIANY_BASE_URL": "https://apiany.ai",  "APIANY_API_KEY": "your_apiany_api_key"}

3. Ask Your Agent to Use APIAny

[APIAny MCP tool usage in an agent conversation]

Example prompts:

text
Use APIAny MCP to find an image model for product photos, compare pricing, and show JavaScript integration code.
text
Use APIAny MCP to estimate credits for 20 gpt-style chat requests with 10k input tokens and 5k output tokens.
text
Use APIAny MCP to show JavaScript usage for nano-banana-pro and Python usage for veo3-1-fast.

MCP Tools

ToolPurposeAPI key
list_modelsList public APIAny models with pricing and capability metadata.No
search_modelsSearch models by text, provider, modality, or capability.No
get_modelGet one public model by model id or display name.No
estimate_costEstimate credits from public pricing metadata.No
get_model_usageReturn endpoint, payload, async behavior, and language examples for models.No
get_integration_examplesReturn cURL, Python, JavaScript, Go, Java, or PHP examples.No
get_docs_contextReturn compact APIAny documentation context from /llms.txt.No
create_image_taskCreate a paid async image task after explicit confirmation.Yes
create_video_taskCreate a paid async video task after explicit confirmation.Yes
get_task_statusRead async media task status.Yes

Agent Skill

The APIAny Integration skill lives in skills/apiany-integration.

It helps agents:

  • Choose APIAny models by modality, provider, pricing, and capability.
  • Generate examples for chat, image, video, and media workflows.
  • Explain async task creation and polling.
  • Require explicit confirmation before paid generation tasks.

Environment Variables

VariableRequiredDescription
APIANY_BASE_URLNoAPIAny base URL. Defaults to https://apiany.ai.
APIANY_API_KEYOnly for paid toolsAPI key used for paid image/video task creation and task polling.

Safety Model

Read-only tools work without an API key. Paid generation tools require both:

  • APIANY_API_KEY
  • confirm_paid_request=true

The server does not persist API keys. It only reads them from the current process environment.

Development

bash
npm installnpm run checknpx -y @modelcontextprotocol/inspector node src/server.js

Useful files:

Links

License

MIT

Source: README.md at commit 0fc4e24

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.2LatestSep 16, 2026

Score

50% 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 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts