Skip to main content

Open source · No API key · On your own devices

Every address, resolved on your own machines.

A neural address parser and an open-data geocoder in one npm install. Nothing leaves your network, and nothing is metered.

Empire State Buildinginterpolated address, ±64 m

350 5th Ave, New York, NY 1011840.7478, -73.9850

Your addresses stay private

Parse and locate addresses on your own devices, without sending them to a third-party API.

More lookups. Same price.

A flat commercial license covers your company at any volume. No per-address fees.

Build it into your app

Use the same address engine in Node.js, in a browser, or from the command line.

How a lookup works

  1. Parse

    A six-layer encoder labels each piece of the text: house number, street, unit, city, postcode and the rest, each with a confidence. It runs on ONNX Runtime in Node or in a browser tab.

    "apt 4b 350 5th ave" → unit · house_number · street
  2. Resolve

    The components resolve against a gazetteer on your own disk, built from Who's On First, OpenAddresses and national registers, down to the address point where the data has one.

    street + city + postcode → 40.7478, -73.9850
  3. Keep the receipt

    Every answer names its tier and the dataset it came from, so a coarse match reads as coarse and you can trace any coordinate back to its source.

    placetype: interpolated · precision: ±64 m

What will you build with Mailwoman?

From a customer spreadsheet to a fleet of vehicles, start with your use case.

Where it resolves

The global download locates cities and regions across 244 countries. Add street data for individual addresses in the United States and France. This table shows the available data and how address parsing has been tested.

Country or regionParsing testsLocal parsing dataStreet dataLocation detail
United StatesCountry + real-world tests✓usRooftop
FranceCountry + real-world tests✓frRooftop
GermanyCountry test set✓—City or region
SpainCountry test set✓—City or region
ItalyCountry test set✓—City or region
Great BritainNot yet rated✓—City or region
New ZealandNot yet rated✓—City or region
IndiaNot yet rated✓—City or region
Portugal, Poland, Austria, Czechia, Australia, Belgium, Netherlands, Switzerland, Croatia, Denmark, FinlandCountry test set——City or region
Norway, SwedenLimited tests——City or region
JapanNot yet rated——postcode
Everywhere else, 244 countries in allNot yet rated——City or region

Parsing tests measure how well Mailwoman reads address text. Local parsing data adds country-specific address knowledge. City or region results mark the center of an area; rooftop results identify individual addresses where the data includes them. Japan supports postcode lookup without a published parsing rating. See evaluation methods and download options →

Quick start

JavaScript & TypeScript

bash
npm install mailwoman @mailwoman/neural @mailwoman/neural-weights-en-us
js
import { createRuntimePipeline } from "mailwoman"
import { NeuralAddressClassifier } from "@mailwoman/neural"

const classifier = await NeuralAddressClassifier.loadFromWeights({ locale: "en-US" })
const parse = createRuntimePipeline({ classifier })

const result = await parse("apt 4b 350 5th ave new york ny 10118")
// result.tree.roots — nested by geographic containment:
// region "NY" › locality "New York" › street "5TH"
// › unit "Apt 4B" · house_number "350" · street_suffix "Ave"
// …and postcode "10118" under the locality

Command Line Interface

bash
npx mailwoman parse "350 5th Ave, New York, NY 10118"
json
{
"region": "NY",
"locality": "New York",
"street": "5th",
"house_number": "350",
"street_suffix": "Ave",
"postcode": "10118"
}

Mailwoman's neural encoder turns address text into structured fields. Add open map data to match those addresses to coordinates.

Set up geocoding in minutes →

Free under the AGPL. Commercial licensing is $250 a month.

No seats, no per-address fees, and no meter. Your thousandth lookup and your hundred-millionth cost the same.

See the pricing