🌐
GitHub
github.com › tghamm › Anthropic.SDK
GitHub - tghamm/Anthropic.SDK: An unofficial C#/.NET SDK for accessing the Anthropic Claude API. This package is not affiliated with, endorsed by, or sponsored by Anthropic. Anthropic and Claude are trademarks of Anthropic, PBC.
An unofficial C#/.NET SDK for accessing the Anthropic Claude API. This package is not affiliated with, endorsed by, or sponsored by Anthropic. Anthropic and Claude are trademarks of Anthropic, PBC. - tghamm/Anthropic.SDK
Starred by 206 users
Forked by 38 users
Languages   C#
🌐
NuGet
nuget.org › packages › Anthropic.SDK › 2.0.0
NuGet Gallery | Anthropic.SDK 2.0.0
A simple C# / .NET library to use with Anthropic's Claude API. Independently developed, this is not an official library and I am not affiliated with Anthropic. An Anthropic account is required.
🌐
GitHub
github.com › anthropics › anthropic-sdk-csharp
GitHub - anthropics/anthropic-sdk-csharp: Access to Anthropic's safety-first language model APIs in C#
The Anthropic C# SDK provides convenient access to the Anthropic REST API from applications written in C#. The REST API documentation can be found on docs.anthropic.com. Install the package from NuGet: dotnet add package Anthropic · This library ...
Starred by 78 users
Forked by 13 users
Languages   C# 99.9% | Shell 0.1%
🌐
GitHub
github.com › veerashayyagari › anthropic-sdk-dotnet
GitHub - veerashayyagari/anthropic-sdk-dotnet: C# Client SDK (Unofficial) for Anthropic Large Language Models
C# Client SDK (Unofficial) for Anthropic Large Language Models - veerashayyagari/anthropic-sdk-dotnet
Author   veerashayyagari
🌐
Microsoft Developer
developer.microsoft.com › dev blogs › blog › microsoft partners with anthropic to create official c# sdk for model context protocol
Microsoft partners with Anthropic to create official C# SDK for Model Context Protocol - Microsoft for Developers
April 11, 2025 - Microsoft is collaborating with Anthropic to create an official C# SDK for the Model Context Protocol (MCP). MCP has seen rapid adoption in the AI community, and this partnership aims to enhance the integration of AI models into C# applications.
🌐
GitHub
github.com › tryAGI › Anthropic
GitHub - tryAGI/Anthropic: C# SDK based on Anthropic OpenAPI specification
using Anthropic; using var client = new AnthropicClient(apiKey); var service = new WeatherService(); var tools = service.AsTools(); var messageParams = new CreateMessageParams() { Model = new Model(ModelVariant6.Claude35SonnetLatest), Messages = [new InputMessage(InputMessageRole.User, "What is the current temperature in Dubai, UAE in Celsius?")], MaxTokens = 4096, System = "You are a helpful weather assistant.", ToolChoice = new ToolChoice(new ToolChoiceAuto()), Tools = tools }; var response = await client.Messages.MessagesPostAsync(messageParams); messageParams.Messages.Add(response.AsInputMessage()); foreach (var toolUse in response.Content.Value2!
Starred by 35 users
Forked by 6 users
Languages   C#
🌐
NuGet
nuget.org › packages › Anthropic.SDK
NuGet Gallery | Anthropic.SDK 5.8.0
A C# / .NET library to use with Anthropic's Claude API. Supports Streaming, Tools, Batching, and Semantic Kernel/Agent Framework
🌐
NuGet
nuget.org › packages › Anthropic.SDK › 4.1.0
NuGet Gallery | Anthropic.SDK 4.1.0
A C# / .NET library to use with Anthropic's Claude API. Supports Streaming and Tools
🌐
Claude
docs.claude.com › en › api › client-sdks
Client SDKs - Claude Docs
git clone [email protected]:anthropics/anthropic-sdk-csharp.git dotnet add reference anthropic-sdk-csharp/src/Anthropic.Client
Find elsewhere
🌐
Azure-api
nugetprodusnc-northcentralus-01.regional.azure-api.net › packages › Anthropic.SDK › 1.3.0
NuGet Gallery | Anthropic.SDK 1.3.0
Anthropic.SDK is an unofficial C# client designed for interacting with the Claude AI API. This powerful interface simplifies the integration of the Claude AI into your C# applications.
🌐
NuGet
nuget.org › packages › Anthropic.SDK › 1.2.0
NuGet Gallery | Anthropic.SDK 1.2.0
A simple C# / .NET library to use with Anthropic's Claude API. Independently developed, this is not an official library and I am not affiliated with Anthropic. An Anthropic account is required.
🌐
Restack
restack.io › p › anthropic-answer-csharp-sdk-cat-ai
Anthropic C# SDK Overview | Restackio
To effectively utilize the Anthropic SDK in C#, you need to follow a structured approach to make API calls. This section will guide you through the essential steps, including installation, authentication, and making requests. First, ensure you have the .NET SDK installed on your machine. You can create a new project using the following command: dotnet new console -n AnthropicExample cd AnthropicExample
🌐
Stevanfreeborn
anthropicclient.stevanfreeborn.com
AnthropicClient | AnthropicClient
This library for the Anthropic API is meant to simplify development in C# for Anthropic users. This is an unofficial SDK for the Anthropic API.
🌐
InfoQ
infoq.com › news › 2025 › 04 › microsoft-csharp-sdk-mcp
Microsoft Collaborates with Anthropic to Launch C# SDK for MCP Integration - InfoQ
April 10, 2025 - The C# SDK is based on an existing community project called mcpdotnet, originally started by Peder Holdgaard Pederson. Microsoft acknowledged the groundwork laid by Pederson and other contributors, which helped shape the foundation for this release. David Fowler, a distinguished engineer at Microsoft, noted: Most of the credit goes to Peder Holdgaard Pedersen who we teamed up with after he built a great implementation! Initially introduced by Anthropic in late 2024, MCP has seen increasing adoption across AI platforms.
🌐
NuGet
nuget.org › packages › Anthropic
NuGet Gallery | Anthropic 12.0.1
To send a request to the Anthropic API, build an instance of some Params class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a C# class. For example, client.Messages.Create should be called with an instance of MessageCreateParams, and it will return an instance of Task<Message>. The SDK defines methods that return response "chunk" streams, where each chunk can be individually processed as soon as it arrives instead of waiting on the full response.
🌐
NuGet
nuget.org › packages › Anthropic.SDK › 4.7.0
NuGet Gallery | Anthropic.SDK 4.7.0
A C# / .NET library to use with Anthropic's Claude API. Supports Streaming, Tools, Batching, and Semantic Kernel Integration
🌐
GitHub
github.com › tghamm › Anthropic.SDK › blob › main › README.md
Anthropic.SDK/README.md at main · tghamm/Anthropic.SDK
An unofficial C#/.NET SDK for accessing the Anthropic Claude API - tghamm/Anthropic.SDK
Author   tghamm
🌐
El Bruno
elbruno.com › 2025 › 12 › 04 › claude-in-azure-with-net-anthropic-claude-microsoft-extensions-ai-meai-💥
Claude in Azure with .NET – Anthropic Claude + Microsoft ...
3 weeks ago - This is a “serverless” integration this means you use Azure’s credentials (API key or Entra ID token) to call the Claude Messages API at the Azure endpoint. The integration supports multiple languages – you can call Claude from Python, JavaScript, or C# SDKs with either API key or Azure AD authentication. In C#, this typically involves using either Anthropic’s .NET SDK or Microsoft Extensions for AI (MEAI).