> ## Documentation Index
> Fetch the complete documentation index at: https://gofastmcp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# anthropic

# `fastmcp.client.sampling.handlers.anthropic`

Anthropic sampling handler for FastMCP.

## Classes

### `AnthropicSamplingHandler` <sup>[https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp\_slim/fastmcp/client/sampling/handlers/anthropic.py#L72](https://github.com/PrefectHQ/fastmcp/blob/main/fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py#L72)</sup>

Sampling handler that uses the Anthropic API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.