Ban Fr logo

Ban Fr

Geocodes French addresses, communes, and coordinates through the Base Adresse Nationale API over MCP.

Install Ban Fr

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ban-fr": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-ban-fr"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Ban Fr connects MCP clients to France’s Base Adresse Nationale (BAN) geocoding API through the Pipeworx gateway. It provides forward geocoding, reverse geocoding, and commune lookup, returning scored GeoJSON results with French postal, administrative, and coordinate data. Use it for France-specific address resolution, INSEE code lookup, or finding the nearest address from coordinates. The service is keyless at the API level, with hosted and local npm connection options.

Use cases

  • Geocode French postal addresses
  • Resolve commune names to INSEE codes
  • Reverse-geocode French coordinates
  • Compare address matches by score
  • Retrieve commune centres and population

Key features

  • Forward geocoding for French addresses and places
  • Reverse geocoding with distance in metres
  • French commune lookup with INSEE codes
  • Scored GeoJSON FeatureCollection responses
  • Hosted MCP and local stdio connection options
  • HTTP tool access through the Pipeworx gateway

Tools3

What Ban Fr lets your agent do. Expand a tool for its parameters.

Verified live~485 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 83d

What it can do

From the 3 tools this server returned when we ran it.

Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age140 days
Maintainers1

Observed 2026-10-17 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-ban-fr (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads430Package downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Ban Fr works

What Ban Fr does

Ban Fr exposes France’s official Base Adresse Nationale (BAN) API through MCP. Its scope is limited to French addresses, streets, localities, and communes. Results use GeoJSON FeatureCollections, with each match carrying a score from 0 to 1 so clients can distinguish stronger matches from weaker ones.

The server is useful when an agent needs to turn a French place description into coordinates, identify the administrative code for a commune, or resolve a coordinate to a nearby address. It is an independent integration and is not affiliated with, endorsed by, or published by the upstream provider.

How it works

A hosted MCP endpoint is available at https://gateway.pipeworx.io/ban-fr/mcp. MCP clients connect to that URL and can call the Ban Fr tools through the Pipeworx gateway. The same gateway also exposes shared Pipeworx meta-tools on the hosted pack endpoint, so the tool list can contain more entries than the three Ban Fr-specific tools. ask_pipeworx can route questions across the wider gateway catalog.

The gateway also provides a full endpoint at https://gateway.pipeworx.io/mcp. Both endpoints use the same gateway and data sources; the pack endpoint lists Ban Fr tools directly, while the full endpoint lists the broader catalog directly.

For clients without MCP support, individual tools can be called through the gateway’s HTTP API. The package @pipeworx/mcp-ban-fr provides a local stdio bridge that forwards requests to the hosted endpoint, so it still requires network access and has no offline mode.

Setup and configuration

Add the hosted endpoint to an MCP client configuration:

config.json
{
  "mcpServers": {
    "ban-fr": {
      "url": "https://gateway.pipeworx.io/ban-fr/mcp"
    }
  }
}

The local option starts the bridge with npx:

config.json
{
  "mcpServers": {
    "ban-fr": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-ban-fr"]
    }
  }
}

Anonymous local calls are capped at 50 per day. A free Pipeworx account increases the allowance to 200 calls per day; configure its token as PIPEWORX_API_KEY. The key is sent as a Bearer token, and calls are metered and billed in the same way as hosted connections. Set PIPEWORX_META_TOOLS=1 if the local bridge should also list the shared gateway tools.

HTTP clients can call a tool directly, for example by posting JSON to https://gateway.pipeworx.io/v1/tools/ban_fr_geocode. The gateway requires network access. When using an HTTPS proxy, Node’s built-in fetch may require NODE_USE_ENV_PROXY=1 on supported Node releases.

Tools and capabilities

  • geocode accepts a French address, street, locality, or commune and returns scored matches with labels, coordinates, postcodes, INSEE city codes, and context.
  • reverse_geocode accepts coordinates and finds nearby French addresses or features. Results include labels, postcodes, INSEE city codes, context, scores, and distance in metres.
  • search_municipality finds a French commune by name and returns its INSEE city code, postcode, population, and centre coordinates. It is a shortcut for geocoding with the municipality type.

All three tools are France-only. Forward and reverse results expose GeoJSON features, and higher scores indicate better matches.

Limitations and notes

The service covers French geographic data rather than general worldwide geocoding. Hosted connections include shared Pipeworx meta-tools alongside the pack tools, and the exact scope is reported by the MCP initialize response. The local npm bridge forwards calls to the gateway instead of running a local geocoder. Ban Fr is distributed under the MIT license.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ban Fr

Ban Fr is an MCP server that connects AI clients to France’s Base Adresse Nationale geocoding API through Pipeworx. Its main tools are geocode for French addresses and places, reverse_geocode for coordinates, and search_municipality for commune details such as INSEE codes, postcodes, population, and centre coordinates.

Install it by adding the hosted MCP URL to your client, or run the local bridge with npx and @pipeworx/mcp-ban-fr. The hosted configuration uses https://gateway.pipeworx.io/ban-fr/mcp; the npm bridge forwards calls to that endpoint and requires network access.

No API key is required for anonymous use. The local npm bridge allows up to 50 calls per day without a key, while a free Pipeworx account and PIPEWORX_API_KEY raise that limit to 200 calls per day.

Ban Fr supports France only. Its tools cover French addresses, streets, localities, communes, and coordinates using data from the Base Adresse Nationale.

Yes, Ban Fr can be connected to Cursor through its hosted MCP endpoint. Add https://gateway.pipeworx.io/ban-fr/mcp as the server URL in the client configuration.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBan Fr AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ban-fr?style=directory)](https://allmcps.com/mcp/ban-fr)
HTML Embed
<a href="https://allmcps.com/mcp/ban-fr"><img src="https://allmcps.com/api/badge/ban-fr?style=directory" alt="Ban Fr on AllMCPs" /></a>