Developers

SDKs

Build with the Swarms API in any language. Official, typed clients for Python, TypeScript, Go, Java, and C#, plus a Model Context Protocol server for Claude Desktop and Cursor.

6/6

Client libraries

5
py

Python

swarms-client

Idiomatic, type-hinted, async-friendly client for Python 3.9 and later.

pip
pip install swarms-client
ts

TypeScript

swarms-ts

Typed, Stainless-generated client. Runs in Node, Deno, Bun, and the browser.

npm
npm install swarms-ts
go

Go

swarms-client-go

Single-import, zero-dependency client for Go 1.21 and later.

go
go get github.com/The-Swarm-Corporation/swarms-client-go
java

Java

swarms-java

JVM client compatible with Java 17+, Kotlin, and Android.

Maven and Gradle install instructions in the repository.

cs

C# / .NET

swarms-csharp

Async .NET client compatible with .NET 6 and later.

NuGet install instructions in the repository.

Model Context Protocol

1
mcp

MCP Server

swarms-ts-mcp

Model Context Protocol server. Plug Swarms into Claude Desktop, Cursor, and any other MCP-compatible client.

npx
npx -y swarms-ts-mcp