This is a Model Context Protocol (MCP) server that provides various AI capabilities using the DeepInfra OpenAI-compatible API, including image
Most AI and media services work still happens through a UI a human drives. MCP Deeinfra MCP server moves it into the conversation instead. This is a Model Context Protocol (MCP) server that provides various AI capabilities using the DeepInfra OpenAI-compatible API, including image generation, text processing, embeddings, speech recognition, and more.
The server publishes 10 tools. What each one is for:
generate_image — Generate an image from a text prompt. Returns the URL of the generated imagetext_generation — Generate text completion from a promptembeddings — Generate embeddings for a list of input textsspeech_recognition — Transcribe audio from a URL to text using Whisper modelzero_shot_image_classification — Classify an image into provided candidate labels using vision modelobject_detection — Detect and describe objects in an image using multimodal modelimage_classification — Classify and describe contents of an image using multimodal modeltext_classification — Analyze text for sentiment and categorytoken_classification — Perform named entity recognition (NER) on textfill_mask — Fill masked tokens in text with appropriate wordsInstallation goes through your MCP client rather than a global install: point it at mcp-deepinfra on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: DEEPINFRA_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Deeinfra's toolset — generate_image, text_generation, embeddings and 7 more — is a fair guide to whether it matches your workflow. It is maintained by phuihock; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against MCP Deeinfra's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| generate_image | Generate an image from a text prompt. Returns the URL of the generated image. |
| text_generation | Generate text completion from a prompt. |
| embeddings | Generate embeddings for a list of input texts. |
| speech_recognition | Transcribe audio from a URL to text using Whisper model. |
| zero_shot_image_classification | Classify an image into provided candidate labels using vision model. |
| object_detection | Detect and describe objects in an image using multimodal model. |
| image_classification | Classify and describe contents of an image using multimodal model. |
| text_classification | Analyze text for sentiment and category. |
| token_classification | Perform named entity recognition (NER) on text. |
| fill_mask | Fill masked tokens in text with appropriate words. |
{
"mcpServers": {
"deepinfra": {
"command": "uv",
"args": ["run", "mcp_deepinfra"],
"env": {
"DEEPINFRA_API_KEY": "your_api_key_here"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| DEEPINFRA_API_KEY | Credential the server authenticates with. | Yes |
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Answers, not links — delegate questions to Perplexity's search-grounded models and get cited responses back.
Give your assistant a voice — text-to-speech, voice cloning and audio tools from the ElevenLabs API.
Give your assistant a real code sandbox — isolated cloud VMs for actually running the code it writes.
The ML hub in your context window — search models, datasets, papers and run Spaces from the official server.