# postalref

> postalref is an MCP server for freight and logistics. Look up USPS service type codes, decode barcodes and check mailing terms, with sources. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** Web, API
- **Website:** https://postalref.com
- **MCP Registry name:** com.postalref/postalref
- **Categories:** [freight and logistics](https://ai-powered.com/categories/freight-and-logistics)
- **Listing updated:** 2026-11-23

## About

postalref is an unofficial reference built from the documents USPS publishes on PostalPro. The site counts 342 service type codes, 2,993 terms and 84 product pages, organised under topics such as mailing, address quality, shipping, accounts, visibility and international mail.

Its distinctive habit is citation: each answer links the USPS wording behind it, so an assistant can point to a page instead of paraphrasing from memory. It can decode the start of a tracking number, such as what a 92055 prefix means, and answer questions like which service type codes a given list added.

The site also compares each new edition of USPS code tables and documents with the previous one, rating section changes as breaking, additive or editorial, and noting when a model made the rating. The site states it is not affiliated with USPS. No tool names are listed.

## Features

- **Service type codes:** Looks up STIDs with their source.
- **Barcode decoding:** Explains the parts of a package barcode or tracking number.
- **Cited answers:** Each answer links the USPS text it relies on.
- **Mailing terms:** Covers thousands of terms from product pages and documents.
- **Change tracking:** Compares new editions of code tables and documents with the old ones.
- **Topic index:** Groups pages by mailing, shipping, address quality and more.

## Good for

- Find what a service type code means
- Decode a USPS tracking barcode
- Check what changed in the latest IMpb documentation
- Answer a mailing-terms question with a source link

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http postalref https://postalref.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "postalref": {
      "type": "http",
      "url": "https://postalref.com/mcp"
    }
  }
}
```

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

```text
https://postalref.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "postalref": {
      "url": "https://postalref.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "postalref": {
      "type": "http",
      "url": "https://postalref.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://postalref.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add postalref --url https://postalref.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.postalref]
url = "https://postalref.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "postalref": {
      "httpUrl": "https://postalref.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http postalref https://postalref.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "postalref": {
      "serverUrl": "https://postalref.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "postalref": {
      "url": "https://postalref.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "postalref": {
      "type": "streamableHttp",
      "url": "https://postalref.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "postalref": {
      "url": "https://postalref.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "postalref": {
      "url": "https://postalref.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "postalref": {
      "url": "https://postalref.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "postalref": {
      "url": "https://postalref.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://postalref.com/mcp
```

Enter a Name (for example "postalref"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "postalref": {
      "type": "http",
      "url": "https://postalref.com/mcp"
    }
  }
}
```

## Tools

The server marks all 6 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `decode` (says read-only): Read a package barcode or tracking number (IMpb), or a letter's or flat's Intelligent Mail barcode (IMb) from its digits or bars: its layout, each field's digits and meaning, whether the check digit or the bars' frame check holds, and the service type code's or Service Type ID's row in the USPS list, each with the passage that says so. A field's `meaning` is postalref's words: quote a cite's `lit`
- `lookup` (says read-only): Look up a USPS code: its row as USPS prints it in the newest edition that lists it, the codes its cells name, the editions that list it and its history, each row with its passage id. A code is found without the marks USPS prints around it and in a row USPS prints for several codes: 750 finds *750, 858 finds 858 and the dropped 858**, and 13 finds PTR's row 01 / 13. Two digits are also tried as thr
- `diff` (says read-only): What changed in a code table or document between two editions: each code added, removed or changed and each changed section, rated editorial, additive or breaking, with who rated it.
- `search` (says read-only): Search the codes, terms, banner texts, specs and documents postalref models, by one index: names and codes whose key is the query's first, then those that start with it, then those with words that start with its words, then codes whose row has its words. A term hit carries its kind (mail-class, extra-service, service, program, system, file, identifier, document, facility, container, role or term) 
- `read` (says read-only): Read a page of postalref.com by its path. /glossary/<id> gives what USPS means by a term: its entry, with its kind and tier, the USPS words that define it and the page they're on, its other names, postalref's own explanation where it has one, and when USPS ended or renamed it, each with USPS's words; /glossary/<words>, such as /glossary/mailer-id or /glossary/MID, gives the entries those words nam
- `grep` (says read-only): Search the text of every document postalref holds, or of one, for the pages that say the words, best first: those that say them as a phrase, then by how much of the page they are and how many of them it says side by side or close together, a table of contents last. A court's filing or a Justice Department release about a fraud case comes after USPS's own pages when one of those says every word, as

## FAQ

### Is postalref official?

No. The site says it is unofficial and not affiliated with USPS.

### How big is the reference?

342 service type codes, 2,993 terms and 84 product pages.

### Do answers cite sources?

Yes, each answer links the USPS words it rests on.

### Does postalref track changes?

Yes, it compares new editions of code tables and documents with earlier ones.

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

Run this command in your terminal: claude mcp add --transport http postalref https://postalref.com/mcp

### What are the best alternatives to postalref?

The closest alternatives to postalref are 4fillment, Spedition Log, ThermoSped, Solar-Spedition and Logisticoo Signature.

## Where this comes from

- Description: written from the project's website.
- Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [4fillment](https://ai-powered.com/mcp/4fillment): 4fillment is an MCP server for freight and logistics.
- [Spedition Log](https://ai-powered.com/mcp/spedition-log): Spedition Log is an MCP server for freight and logistics.
- [ThermoSped](https://ai-powered.com/mcp/thermosped): ThermoSped is an MCP server for freight and logistics.
- [Solar-Spedition](https://ai-powered.com/mcp/solar-spedition): Solar-Spedition is an MCP server for freight and logistics.
- [Logisticoo Signature](https://ai-powered.com/mcp/logisticoo-signature): Logisticoo Signature is an MCP server for freight and logistics.
- [Speed Logistics](https://ai-powered.com/mcp/speed-logistics): Speed Logistics is an MCP server for freight and logistics.
- [Logisticoo Freight](https://ai-powered.com/mcp/logisticoo-freight): Logisticoo Freight is a free MCP server for freight and logistics.
- [CityFreight](https://ai-powered.com/mcp/cityfreight): CityFreight is an MCP server for freight and logistics.

---
Source: https://ai-powered.com/mcp/postalref
