swift-ai
Swift AI: Access a wide range of AI models⚡, including OpenAI 🤖,DeepSeek 🔍, Claude 🧠, Gemini 🌟, and.
使うべきか
品質と安全性
検出事項(1)
- LOWpost_generateContent 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"swift-ai": {
"url": "https://mcp.jojapi.com/swift-ai"
}
}
}リモートエンドポイント
https://mcp.jojapi.com/swift-aistreamable-httpできること
ツール一覧
ツール(8)
🟢get_models
Return a list of available models on this API Group: List Models. Billing per call: Credits: metered (~1 avg).
入力スキーマ
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟡post_chat_completions(body)
Creates a model response for the given chat conversation. Group: OpenAI Endpoints. Billing per call: Credits: metered (~927.1 avg).
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"gpt-6.1-sol\",\"stream\":false,\"messages\":[{\"role\":\"user\",\"content\":\"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?\"}]}"
}
},
"additionalProperties": false
}🟡post_responses(body)
Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model’s response. Group: OpenAI Endpoints. Billing per call: Credits: metered (~207 avg).
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"gpt-6.1-sol\",\"input\":\"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?\"}"
}
},
"additionalProperties": false
}🟡post_messages(body)
The official Anthropic API endpoint for generating conversational responses using Claude models. This endpoint supports text and multimodal inputs, including images and documents, depending on the capabilities of the selected model. It also supports multi-turn conversations, system instructions, tool use (function calling), extended thinking, prompt caching, structured content blocks, and configurable generation parameters. Group: Anthropic Endpoints. Billing per call: Credits: metered (~1344 avg).
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"claude-opus-5-5\",\"messages\":[{\"role\":\"user\",\"content\":\"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?\"}]}"
}
},
"additionalProperties": false
}🟡post_generateContent(body)
The official Google Gemini API endpoint for generating content using Gemini models. This endpoint supports multimodal inputs, including text, images, audio, video, and documents, depending on the capabilities of the selected model. It also supports conversation history, system instructions, function calling, structured JSON output, safety settings, and configurable generation parameters. Group: Google Endpoints. Billing per call: Credits: metered (~235.33 avg).
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"gemini-4-carbon\",\"contents\":[{\"role\":\"user\",\"parts\":[{\"text\":\"There are ten birds in a tree. A hunter shoots one. How many are left in the tree?\"}]}]}"
}
},
"additionalProperties": false
}🟡post_audio_speech(body)
Generates audio from the input text. Group: Audio. Billing per call: Credits: metered (~187 avg).
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"tts-1\",\"input\":\"Today is a wonderful day!\",\"voice\":\"alloy\"}"
}
},
"additionalProperties": false
}🟡post_embeddings(body)
Creates an embedding vector representing the input text. Group: Embeddings. Billing per call: Credits: metered.
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"input\":\"Today is a wonderful day\",\"model\":\"text-embedding-3-large\"}"
}
},
"additionalProperties": false
}🟡post_moderations(body)
Classifies if text is potentially harmful. Group: Moderations. Billing per call: Credits: metered (~0.33 avg).
入力スキーマ
{
"type": "object",
"properties": {
"body": {
"type": "object",
"description": "JSON request body. Example: {\"model\":\"omni-moderation-latest\",\"input\":\"Today is a wonderful day to build something people love!\"}"
}
},
"additionalProperties": false
}コミュニティ
エビデンス