NewMCP server: test and integrate APIs from Claude or ChatGPT19 Nov 2026

The API platform for every protocol, in your browser

Swastik Codes (SWC) sends, tests, mocks, monitors and documents REST, GraphQL, gRPC, WebSocket, Socket.IO, SSE, MQTT and MCP APIs. Your Postman collections and pm.* scripts open as they are, and the desktop app is an 11 MB download.

Get started free Sign inOpen the app

npm install -g @swastik-codes/cli

Installs swc, then run swc init in your project. How to use the CLI npm package

Install for desktop

What do you want to do today?

A POST request that returned 201 Created in 84 ms, with its timing breakdown, body and three passing tests.The request builder

swc runs a collection against staging in CI: 48 tests pass in 2.1 seconds and a JUnit report is written.Run tests in CI

A hosted mock answers from saved examples; a request header picks the 404 example so a UI can test its error state.Mock servers

A WebSocket session subscribes to order events and logs every frame with a timestamp.WebSocket client

pip install swastik-codes and one line in FastAPI serve documentation and a request collection at /swc/docs.Docs for your server

Send & test: Send a request with an environment, read the response and see every test pass.

Send a request with an environment, read the response and see every test pass.

BenchmarksMeasured, not claimed

Lighter than the API client you use now

A native Rust engine instead of a bundled copy of Chromium. We ran Swastik Codes 0.1.0, Postman 12.33.4, Bruno 4.3.0, Insomnia 13.3.1 and Hoppscotch 26.9.0 on the same Linux machine, one at a time.

The web app needs 382 KB to open; hoppscotch.io transfers 6.6 MB.

Method and every number

Memory after 60 seconds (lower is better)
Swastik Codes434 MB
Postman585 MB
Bruno615 MB
Insomnia656 MB
Hoppscotch800 MB
Windows installer (lower is better)
Swastik Codes11 MB
Hoppscotch45 MB
Bruno117 MB
Postman204 MB
Insomnia500 MB

GitHub sync

Connect GitHub and get a collection from your code

Pick a repository and a branch. Swastik Codes reads the API routes in the code, with their methods, paths, parameters and request bodies and which ones need a login, and builds a collection you can send and test right away. Every push to that branch updates it, and the names, examples and tests you add are kept.

  1. Connect GitHubPublic and private repositories, including your organisations.
  2. Pick a repository and branchEvery branch is listed, the default first, with search.
  3. Send and testRoutes arrive as requests with parameters and example bodies.
  4. Stay in syncEach push rescans the branch, and published docs follow.
  • FastAPI
  • Django
  • Flask
  • Express
  • NestJS
  • Next.js
  • Spring
  • Laravel
  • Go
  • Rails
  • ASP.NET

The code is read on our server and deleted right after; nothing in it is run.

Connect GitHubHow it works

MCP server · for AI assistants

Find, integrate and test APIs from Claude and ChatGPT

Connect your AI assistant to Swastik Codes with one URL. It can search thousands of public APIs from their own descriptions, write the integration in your language with working code, and send real test requests, so its answers come from live data instead of memory.

  1. Read the full API docsBase URL, the exact auth header, the keys you need and every endpoint's request and response, written for agents.
  2. Get the integration stepsKeys, environment variables, install and the first requests, in 30 languages.
  3. Test it liveHTTP, GraphQL, WebSocket, Socket.IO, SSE, MQTT, gRPC and MCP sessions.
  • Claude
  • ChatGPT
  • Claude Code
  • Cursor
  • VS Code
https://swastik.codes/mcp

Sign in with OAuth or an API key, approve what the assistant may do, and disconnect it any time. Test requests only reach public addresses, and their contents are not stored.

Connect your assistantBrowse the APIs

From the first request to production checks

The request you are debugging, the tests that guard it, the run in CI and the checks before a release, all in the same collection.

01Debug

Send a request and know why it failed

A request builder that keeps up with real APIs: variables from environments, twelve auth schemes, timings for every phase and scripts that run before and after each request.

  • Postman-compatible pm.* scripts, chai assertions and JSON Schema checks
  • OAuth 2.0 with PKCE, AWS Signature v4, Digest, NTLM and more
  • Code for 30 targets, from cURL and fetch to Go, Java and Rust

The REST client

Pick an environment, send a REST request, read the JSON response and see every test pass.

02Automate

Run whole collections, here and in CI

Run folders and collections with iterations, CSV or JSON data and delays, then export JSON, JUnit or HTML reports. The same run works in your pipeline with the swc CLI.

  • Drag to reorder, pick requests, stop on the first failure
  • Data-driven runs from CSV and JSON files
  • Run in GitHub Actions, GitLab or Jenkins with one generated file

The collection runner

Run every request in a collection with its tests and watch the results, status codes and timings arrive.

03Real-time

Streaming APIs are first-class, not an afterthought

WebSocket, Socket.IO, Server-Sent Events, MQTT, GraphQL subscriptions, gRPC streams and MCP servers, with saved messages and a searchable log of every frame.

  • Socket.IO v2 to v4 with events, listeners and acks
  • gRPC from .proto files or server reflection
  • MQTT 3.1.1 and 5, MCP over Streamable HTTP

The WebSocket client

Connect to a WebSocket server, send JSON messages and see each one echoed back with its size and time.

04Release

See what changed before your users do

Run a collection against two environments and get every difference: status, headers and each JSON field. Repeat runs to find flaky tests, and stop breaking changes in review.

  • Staging against production, with ids and timestamps ignored
  • Flaky tests and requests nothing checks
  • swc diff fails CI on breaking API changes

Compare responses step by step

Send the same requests to Production and Staging and see which responses differ, field by field.

05Secure

Find what is exposed, not just what passes

Security checks read every response for missing headers, CORS that trusts any website and leaky errors, then re-send requests without credentials to find endpoints that do not check them.

  • Labelled with the OWASP API Security Top 10
  • Fuzz inputs with wrong types, empty and boundary values
  • An access matrix that sends every request as every role

Security checks step by step

Scan a collection for missing security headers, open CORS and endpoints that answer without credentials.

06Document

Publish docs your users can actually run

The collection your team tests every day becomes public API documentation: every request with its parameters, bodies and saved examples, your Markdown pages and a search box.

  • Code samples in cURL, JavaScript, Python, Go, Java and more
  • Secret values are never published
  • A Run in Swastik Codes button and a Postman v2.1 download

Published API documentation

Publish a collection as public API docs, then search them, open a request and switch its code sample to Python.

07Share

List your APIs where developers can fork them

The API marketplace lists collections from organizations and developers. Visitors search by name or tag, star what they need and fork a copy into their own workspace, without your secrets.

  • Publish as yourself or as your company
  • Verified badge for organizations that prove their domain
  • Stars, forks and views on every listing

Browse the marketplace

Search the API marketplace, star an API and fork it into your workspace, ready to send requests.

Postman-compatible

Bring your collections and your tests

Import Postman collections and environments and keep working. Scripts written against Postman's documented pm.* API run unchanged, and export back to Postman v2.1 or OpenAPI 3 is always one click away.

  • Postman
  • Insomnia
  • OpenAPI 3
  • Swagger 2
  • cURL
  • HAR
  • RAML
  • WSDL
  • GraphQL

How to move from Postman

Paste a cURL command and get a saved request in a collection, ready to send.

The swc command line

Install the CLI with one command

swc is one small executable for macOS, Linux and Windows. Turn a project's routes into a collection, run collections and security checks in CI, compare environments, and let the web app reach localhost.

macOS and Linux
curl -fsSL https://swastik.codes/install.sh | sh
Windows PowerShell
irm https://swastik.codes/install.ps1 | iex
npm (any platform)
npm install -g @swastik-codes/cli

The script picks the build for your computer, checks it against our published SHA-256 sums and puts swc on your PATH. Run it again to update. The npm package installs the same tool, and fits CI pipelines that already use Node.js.

Every swc command

Terminal
# link this project's code to a collection
$ swc init
✓ 24 requests from fastapi (24); 38 files in 61 ms
✓ saved "Shop API"

# run its tests here or in CI
$ swc run shop.json -e staging.json
✓ 48 passed  0 failed  2.1 s

# staging against production, field by field
$ swc compare shop.json -e staging.json --against prod.json

# after the code changes
$ swc sync

# localhost for the web app, requests for your AI assistant
$ swc bridge
$ swc mcp

Desktop app for Windows, macOS and Linux

Call localhost and private networks from your own machine

The desktop app runs every request in a native engine on your computer, so it reaches your dev server, Docker containers, LAN devices and VPN-only hosts, with no CORS limits and no relay in between. Signing in syncs the same workspaces as the web app.

  • Every protocol, including local STDIO MCP servers
  • Collection runs and load tests use your own CPU and network
  • Windows installer, one .dmg for Apple silicon and Intel Macs, and .deb, .rpm and AppImage for Linux

All downloads and SHA-256 checksums

Download Swastik Codes

Windows 10 or 11, 64-bit

macOS 10.15 or later · Apple silicon and Intel

x86_64 · Ubuntu 22.04+, Debian 12+, Fedora 38+ and similar

VS Code extension

Send requests and run tests without leaving your editor

Your collections and environments sit in the VS Code sidebar. Send a request next to the code that serves it, run a collection in the Test Explorer, and keep the collection in step with your routes as the code changes.

  • Params, headers, body, auth and scripts in one tab; paste a cURL command to start
  • Collections run as tests, with security, compare and load labs on the right-click menu
  • Your API key stays in the system keychain, and requests run in a small native process that stops when idle

Everything the extension does

Install in VS Code

Free · VS Code 1.90+
  1. Open ExtensionsCtrl+Shift+X, or ⇧⌘X on a Mac
  2. Search for “Swastik Codes”Published by Swastik Codes
  3. Click InstallThen open Swastik Codes in the Activity Bar and sign in

Open in VS CodeView on Marketplace

code --install-extension swastik-codes.swastik-codes

No Marketplace access? Download the .vsix for Windows, macOS (Apple silicon), macOS (Intel) or Linux, then choose Install from VSIX… in the Extensions view.

For your own API · pip and npm

Docs and a request collection, served by your FastAPI, Express or NestJS app

Like FastAPI's /docs, for any framework. Install one package, add one line, and your server shows full documentation and a collection readers can send requests from. Python apps use the OpenAPI document they already have; Node.js apps don't need one, because the package reads your routes.

Python: FastAPI, Flask, Django
pip install swastik-codes

from swastik_codes import mount
# adds /swc/docs and /swc/collection
mount(app)
Node.js: Express, NestJS, Fastify, Hono
npm install @swastik-codes/docs

app.use(swastikCodes())  # before your routes
  • About 29 KB for the browser, against about 427 KB for Swagger UI; no dependencies on your server
  • Code samples in five languages, and Send with params, auth, headers and form-data, raw or binary bodies
  • Edit the title, introduction, servers, sections and names in one JSON file, no redeploy
The collection page a FastAPI app serves at /swc/collection: a Place an order request sent with a JSON body and its 201 Created response

Feature ideas

Tell us what to build next

Every idea is read by the people who build Swastik Codes. You can follow yours from Received to Shipped, and when it ships we put your name next to it.

  1. 01You share the problem in a minute, from here or the app.
  2. 02We review it and answer on your idea.
  3. 03We build it and email you at every step.
  4. 04You are credited on the ideas page, if you want.

Share an idea See how it works

What would make Swastik Codes better for you?

Describe the problem you want solved…

Or start from an area

A free account is needed, so we can tell you when it ships.You are signed in. Sharing takes about a minute.

Share an idea

Read by the people who build Swastik Codes.

Frequently asked questions

What is SWC?

SWC is short for Swastik Codes, the web-based API client and API platform on this site. The same three letters name its command-line tool (swc) and the swc.* object in test scripts. It is a different project from the SWC JavaScript compiler.

Is Swastik Codes free?

Yes. Swastik Codes is free to use today, and there are no paid plans. The web app needs a free account (GitHub or email), which lets you send requests, use the protocol clients, sync workspaces and work with a team. The desktop app and CLI also work without one.

Can I import my Postman collections?

Yes. Swastik Codes imports Postman collections (v2.0, v2.1 and v3), environments, globals and data dumps, plus Insomnia exports, OpenAPI 3 and Swagger 2, cURL commands, HAR files, RAML and WSDL. Pre-request and test scripts written against the documented pm.* API run in its sandbox unchanged, and can be converted to its own swc.* name on import.

Do I need to install anything?

No. Swastik Codes runs in a modern browser at swastik.codes/app. If you want requests to leave from your own computer, a desktop app for Windows, macOS and Linux is available at swastik.codes/download.

Can I use Swastik Codes from Claude or ChatGPT?

Yes. Add https://swastik.codes/mcp as a custom connector in Claude or ChatGPT, or as an MCP server in Claude Code, Cursor or VS Code, and sign in. Your assistant can then search thousands of public APIs, read their endpoints and authentication, write integration code in 30 languages and send live test requests over HTTP, GraphQL, WebSocket, MQTT and more.

Can it reach APIs on localhost or my private network?

Yes. Run swc bridge on your computer and switch on Local bridge in the app: requests from the browser then run on your machine and reach localhost, your LAN and VPN hosts, with no extension or CORS settings. The desktop app for Windows, macOS and Linux does the same for every protocol.

Is it lighter than Postman?

In our side-by-side test the Swastik Codes desktop app used 434 MB of memory a minute after launch, against 585 MB for Postman, and its Windows installer is 11 MB against 204 MB. The web app loads 382 KB to start. The benchmarks page has the method and the other apps we measured.

Can I sign up with GitHub?

Yes. Continue with GitHub works on the web and in the desktop app. Signing in reads only your profile and verified email address, never your repositories, and you can add a password later. Repository access is a separate step that you only take if you connect GitHub to build collections from your code.

Can it build a collection from my GitHub repository?

Yes. Connect GitHub, pick a repository (public or private) and a branch, and Swastik Codes reads the API routes in the code and builds a collection you can send and test. Every push to that branch updates the collection, and the names, examples and tests you added are kept. The code is read on our server and deleted right after; nothing in it is run.

How do I install the swc CLI?

On macOS or Linux run curl -fsSL https://swastik.codes/install.sh | sh, and on Windows run irm https://swastik.codes/install.ps1 | iex in PowerShell. The script downloads the right build, checks it against our published SHA-256 sums and puts swc on your PATH. Run it again to update. With Node.js, npm install -g @swastik-codes/cli installs the same tool.

Is there a VS Code extension?

Yes. The Swastik Codes extension puts your collections and environments in the VS Code sidebar, sends requests from the editor and runs collections as tests in the Test Explorer. Install it from the Visual Studio Marketplace: open the Extensions view, search for Swastik Codes and click Install, or run code --install-extension swastik-codes.swastik-codes. It runs on Windows, macOS and Linux.

Can my FastAPI or Express app serve Swastik Codes docs, like Swagger UI?

Yes. pip install swastik-codes for FastAPI, Flask and Django, or npm install @swastik-codes/docs for Express, NestJS, Fastify, Hono and Koa, then add one line. Your server then shows documentation at /swc/docs and a request collection at /swc/collection, built from its OpenAPI document, or in Node.js from its routes. The page is about 29 KB, and a swastik-codes.json file lets you change the title, introduction, servers and grouping without touching code.

Which protocols are supported?

HTTP and REST, GraphQL (including subscriptions), gRPC (unary and streaming, from .proto files or server reflection), WebSocket, Socket.IO v2 to v4, Server-Sent Events, MQTT 3.1.1 and 5, and the Model Context Protocol (MCP) over Streamable HTTP or HTTP+SSE.

More answers in the FAQ

Free to start · no install

Start with the request you are debugging today

Create a free account, then import a collection, paste a cURL command or point it at a GraphQL endpoint.

Get started free Sign inOpen the app

  1. Create your workspaceSign up with email; no credit card.
  2. Bring your requestsPostman, OpenAPI, Insomnia, HAR or a cURL command.
  3. Send, test and shareRun collections, compare environments, invite your team.