---
title: Use Claude in WorkBuddy via RunAPI — MCP Guide | RunAPI
description: Call Anthropic Claude from WorkBuddy through the RunAPI MCP server at 50% off official pricing. Opus 4.8, Sonnet 4.6, Haiku 4.5 — one key, one MCP config.
url: https://runapi.ai/workbuddy-claude.md
canonical: https://runapi.ai/workbuddy-claude
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
alternates:
  en: https://runapi.ai/workbuddy-claude
  zh-CN: https://runapi.ai/zh-CN/workbuddy-claude
  es: https://runapi.ai/es/workbuddy-claude
  ja: https://runapi.ai/ja/workbuddy-claude
  de: https://runapi.ai/de/workbuddy-claude
  fr: https://runapi.ai/fr/workbuddy-claude
  pt-BR: https://runapi.ai/pt-BR/workbuddy-claude
  ko: https://runapi.ai/ko/workbuddy-claude
  it: https://runapi.ai/it/workbuddy-claude
  nl: https://runapi.ai/nl/workbuddy-claude
  pl: https://runapi.ai/pl/workbuddy-claude
  tr: https://runapi.ai/tr/workbuddy-claude
  zh-TW: https://runapi.ai/zh-TW/workbuddy-claude
  zh-HK: https://runapi.ai/zh-HK/workbuddy-claude
  ar: https://runapi.ai/ar/workbuddy-claude
  x-default: https://runapi.ai/workbuddy-claude
model: claude
---

> HTML version: https://runapi.ai/workbuddy-claude
> Site index for agents: https://runapi.ai/llms.txt


# Use Claude in WorkBuddy.

Anthropic Claude provides Opus 4.8 for maximum capability (200K context, extended thinking), Sonnet 4.6 for balanced performance, and Haiku 4.5 for speed. WorkBuddy speaks MCP natively — register RunAPI as an MCP server once and every Claude variant becomes a callable tool inside the workbench, billed per token at 50% of Anthropic's official rate.

- [Get API Key](https://runapi.ai/login)
- [Read the docs](https://runapi.ai/docs/guides)

one RunAPI key · MCP one-click connect · per-token billing at 50% off

### Prompt

```text
Use the runapi MCP server to send a chat request to Claude.

Requirements:
- Call the RunAPI chat tool exposed by the runapi MCP server
- Set model to "claude-opus-4.8"
- Ask: "Explain the difference between a mutex and a semaphore in three sentences."
- Set max_tokens to 1024
- Show me the assistant reply and the token usage counts

```

### MCP Config

```bash
{
  "mcpServers": {
    "runapi": {
      "url": "https://runapi.ai/mcp",
      "transport": "streamable_http",
      "headers": {
        "Authorization": "Bearer $RUNAPI_API_KEY"
      }
    }
  }
}

```

### Response

```json
{
  "model": "claude-opus-4.8",
  "content": "A mutex is a locking mechanism that allows only one thread to access a resource at a time...",
  "finish_reason": "stop",
  "usage": {
    "prompt_tokens": 24,
    "completion_tokens": 87,
    "total_tokens": 111
  }
}

```

## Use Claude in WorkBuddy in three steps

1. **Register the RunAPI MCP server** - Set RUNAPI_API_KEY in the environment that launches WorkBuddy, then add an MCP server named runapi pointing at https://runapi.ai/mcp over streamable HTTP. If you already connected RunAPI for other models, the same server covers Claude — nothing extra to install. `export RUNAPI_API_KEY=runapi_xxx
# MCP server: runapi → https://runapi.ai/mcp
`
2. **Prompt the workbench agent** - Type a natural-language request into WorkBuddy and name the model. WorkBuddy picks the RunAPI chat tool from the runapi MCP server, fills in model claude-opus-4.8, your messages, and max_tokens, and sends the call — no curl, no SDK code. `Ask claude-opus-4.8 via the runapi MCP server: ...`
3. **Read the tool result** - The MCP tool returns the assistant message synchronously — no task polling needed. WorkBuddy renders the reply inline, and the result includes token usage counts so you can see exactly what each request cost. `usage.total_tokens: 111`

## Claude tool parameters on the RunAPI MCP server

| Parameter | Type | Description |
| --- | --- | --- |
| `model` | `string` | Required. claude-opus-4.8, claude-sonnet-4.6, claude-haiku-4.5, or any Claude variant listed in the RunAPI catalog. |
| `messages` | `array` | Required. Array of message objects with role (system, user, assistant) and content fields. WorkBuddy builds this from your prompt. |
| `max_tokens` | `integer` | Maximum number of tokens in the response. Defaults vary by model — set explicitly for predictable billing. |
| `temperature` | `float` | Sampling temperature between 0 and 1. Lower values produce more deterministic output. |
| `top_p` | `float` | Nucleus sampling cutoff. Alternative to temperature — use one or the other, not both. |
| `stream` | `boolean` | When true, the response streams incrementally. For MCP tool calls in WorkBuddy the default synchronous result is usually all you need. |

## What is Claude on WorkBuddy?

Claude is Anthropic's LLM family — Opus 4.8 with 200K context and extended thinking for deep analysis, Sonnet 4.6 for everyday coding and writing, and Haiku 4.5 for fast cheap tasks. WorkBuddy reaches all three through the single runapi MCP server, at 50% of the official Anthropic per-token rate, using the same RUNAPI_API_KEY that covers GPT, Gemini, and the image, video, and music models. Prompt caching is supported to cut costs further on repeated context.

## Claude use cases

- **Structured reasoning over documents** - Ask WorkBuddy to analyze contracts, reports, or large tables and let Claude handle the structured reasoning — the MCP tool returns clean, well-organized answers straight into the workbench.
- **Long document analysis with 200K context** - Feed entire codebases, legal contracts, or research papers into Claude Opus 4.8's 200K token context window for analysis, summarization, and question answering without chunking.
- **Coding and review inside the workbench** - Route code generation, pull request reviews, and multi-file refactors through Claude from WorkBuddy — Opus 4.8 for architecture decisions, Sonnet 4.6 for everyday changes.

## Claude + WorkBuddy questions

### Can I call Claude from WorkBuddy through RunAPI?

Yes. WorkBuddy speaks MCP natively. Register RunAPI as an MCP server pointing at https://runapi.ai/mcp with your RUNAPI_API_KEY, and Claude appears as a callable chat tool. The same server handles chat, image, video, and music models.

### How much does Claude cost through RunAPI?

RunAPI charges 50% of Anthropic's official rate. Opus 4.8 is $7.50/$37.50 per million input/output tokens through RunAPI versus $15/$75 direct. With prompt caching enabled, cached input tokens cost even less. Check the RunAPI pricing page for exact rates.

### Do I need to write any code to use Claude in WorkBuddy?

No. After the MCP server is registered, you just type a prompt into the workbench. WorkBuddy selects the RunAPI chat tool, fills in the model and messages, and shows the reply inline — no curl commands or SDK setup.

### How do I switch between Claude models in WorkBuddy?

Name the variant in your prompt — claude-opus-4.8, claude-sonnet-4.6, or claude-haiku-4.5. The MCP server, config, and API key stay the same; only the model argument of the tool call changes.

### Which Claude model should I choose for tasks in WorkBuddy?

Opus 4.8 for complex multi-file refactors, deep analysis, and architecture decisions. Sonnet 4.6 for everyday coding and writing — reviews, test generation, and drafting. Haiku 4.5 for fast high-volume tasks where latency matters more than depth.


- [WorkBuddy setup guide →](https://runapi.ai/workbuddy.md) - Not connected yet? Start with the RunAPI MCP setup guide for WorkBuddy.
- [Claude models →](https://runapi.ai/models/claude.md) - See all Claude variants, per-token pricing, and context window details.

## Try Claude in WorkBuddy today.

Get a free RunAPI key, register the MCP server, and start using Claude at 50% of the official Anthropic rate without leaving the workbench.

[Browse models →](https://runapi.ai/models.md)

---

## More from RunAPI

- [Home](https://runapi.ai/.md)
### Product
- [Model Catalog](https://runapi.ai/models.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Providers](https://runapi.ai/models#all-models)
### Developers
- [Documentation](https://runapi.ai/docs/guides)
- [SDKs](https://runapi.ai/sdk.md)
- [CLI](https://runapi.ai/cli.md)
- [MCP Server](https://runapi.ai/mcp.md)
- [x402](https://runapi.ai/x402.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Cursor API Setup](https://runapi.ai/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/openrouter-alternative.md)
### Company
- [Enterprise](https://runapi.ai/contact.md)
- [Contact](https://runapi.ai/contact.md)
### Legal
- [Terms](https://runapi.ai/terms.md)
- [Privacy](https://runapi.ai/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "SoftwareApplication",
    "name": "RunAPI Claude for WorkBuddy",
    "applicationCategory": "DeveloperApplication",
    "description": "Call Anthropic Claude from WorkBuddy through the RunAPI MCP server at 50% off official pricing. Opus 4.8, Sonnet 4.6, Haiku 4.5 — one key, one MCP config.",
    "url": "https://runapi.ai/workbuddy-claude"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Can I call Claude from WorkBuddy through RunAPI?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Yes. WorkBuddy speaks MCP natively. Register RunAPI as an MCP server pointing at https://runapi.ai/mcp with your RUNAPI_API_KEY, and Claude appears as a callable chat tool. The same server handles chat, image, video, and music models."
        }
      },
      {
        "@type": "Question",
        "name": "How much does Claude cost through RunAPI?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "RunAPI charges 50% of Anthropic's official rate. Opus 4.8 is $7.50/$37.50 per million input/output tokens through RunAPI versus $15/$75 direct. With prompt caching enabled, cached input tokens cost even less. Check the RunAPI pricing page for exact rates."
        }
      },
      {
        "@type": "Question",
        "name": "Do I need to write any code to use Claude in WorkBuddy?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "No. After the MCP server is registered, you just type a prompt into the workbench. WorkBuddy selects the RunAPI chat tool, fills in the model and messages, and shows the reply inline — no curl commands or SDK setup."
        }
      },
      {
        "@type": "Question",
        "name": "How do I switch between Claude models in WorkBuddy?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Name the variant in your prompt — claude-opus-4.8, claude-sonnet-4.6, or claude-haiku-4.5. The MCP server, config, and API key stay the same; only the model argument of the tool call changes."
        }
      },
      {
        "@type": "Question",
        "name": "Which Claude model should I choose for tasks in WorkBuddy?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Opus 4.8 for complex multi-file refactors, deep analysis, and architecture decisions. Sonnet 4.6 for everyday coding and writing — reviews, test generation, and drafting. Haiku 4.5 for fast high-volume tasks where latency matters more than depth."
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "HowTo",
    "name": "How to use Claude in WorkBuddy via RunAPI",
    "description": "Register RunAPI as an MCP server in WorkBuddy, prompt the workbench agent to call the Claude chat tool, and read the returned assistant message.",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "Register the RunAPI MCP server",
        "text": "Set RUNAPI_API_KEY in the environment that launches WorkBuddy, then add an MCP server named runapi pointing at https://runapi.ai/mcp over streamable HTTP. If you already connected RunAPI for other models, the same server covers Claude — nothing extra to install.",
        "url": "https://runapi.ai/workbuddy-claude#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "Prompt the workbench agent",
        "text": "Type a natural-language request into WorkBuddy and name the model. WorkBuddy picks the RunAPI chat tool from the runapi MCP server, fills in model claude-opus-4.8, your messages, and max_tokens, and sends the call — no curl, no SDK code.",
        "url": "https://runapi.ai/workbuddy-claude#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "Read the tool result",
        "text": "The MCP tool returns the assistant message synchronously — no task polling needed. WorkBuddy renders the reply inline, and the result includes token usage counts so you can see exactly what each request cost.",
        "url": "https://runapi.ai/workbuddy-claude#how-step-3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "RunAPI Claude for WorkBuddy",
        "item": "https://runapi.ai/workbuddy-claude"
      }
    ]
  }
]
```
