# Us Code

> Us Code is an open-source MCP server. US Code — the text of federal statutes, by citation. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://pipeworx.io/packs/us-code
- **Repository:** https://github.com/pipeworx-io/mcp-us-code
- **MCP Registry name:** io.github.pipeworx-io/us-code
- **Listing updated:** 2026-11-13

## About

US Code — the text of federal statutes, by citation.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http us-code https://gateway.pipeworx.io/us-code/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/us-code/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "us-code": {
      "url": "https://gateway.pipeworx.io/us-code/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "us-code": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/us-code/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "us-code": {
      "serverUrl": "https://gateway.pipeworx.io/us-code/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "us-code": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/us-code/mcp"
    }
  }
}
```

## FAQ

### Is Us Code free?

Yes. Us Code is open source, so you can use and self-host it for free.

### How do I add Us Code to Claude Code?

Run this command in your terminal: claude mcp add --transport http us-code https://gateway.pipeworx.io/us-code/mcp

---
Source: https://ai-powered.com/mcp/us-code
