modelcontextprotocol/csharp-sdk

The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.

72
/ 100
Verified

This is the official C# SDK for the Model Context Protocol, allowing .NET developers to build applications, services, and libraries that interact with Large Language Models (LLMs). It standardizes how your applications provide context to LLMs, enabling secure integration between LLMs and various data sources and tools. Developers working with C# and .NET who need to integrate LLMs into their software will find this useful.

4,167 stars. Actively maintained with 31 commits in the last 30 days.

Use this if you are a C#/.NET developer building applications that need to securely provide structured data and context to Large Language Models.

Not ideal if you are not a C#/.NET developer or if your project does not involve integrating with Large Language Models.

.NET development C# programming LLM integration application development API development
No Package No Dependents
Maintenance 23 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 23 / 25

How are scores calculated?

Stars

4,167

Forks

668

Language

C#

License

Category

framework

Last pushed

Apr 03, 2026

Commits (30d)

31

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/modelcontextprotocol/csharp-sdk"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.