nextbillion-mcp
Exposes NextBillion.ai location APIs as MCP tools for AI agents, including geocoding, place search, routing, distance matrices, isochrones, and static maps.
README
nextbillion-mcp
MCP server exposing NextBillion.ai location APIs as tools for AI agents: geocoding, place search, routing, distance matrices, isochrones, and static maps.
Implements the MCP 2026-07-28 specification (stateless core) via the official TypeScript SDK v2; older-protocol clients are served through the SDK's built-in legacy negotiation.
Quick start
Get an API key at console.nextbillion.ai and export it as
NBAI_API_KEY in your shell profile.
Claude Code plugin (this repository doubles as a plugin marketplace):
claude plugin marketplace add nextbillion-ai/nextbillion-mcp
claude plugin install nextbillion-mcp@nextbillion
Any MCP client — snippets for Claude Code, Cursor, and Codex are in
distributions/manual/README.md. The short version:
NBAI_API_KEY=<your key> npx -y nextbillion-mcp
Tools
| Tool | NextBillion API |
|---|---|
autocomplete |
Autocomplete (prefix address completion) |
autosuggest |
Autosuggest (typo-tolerant suggestions) |
directions |
Directions (fast + flexible) |
distance_matrix |
Distance Matrix (fast + flexible, synchronous) |
geocode_batch |
Batch Geocode (up to 100 queries per call) |
geocode_forward |
Forward Geocode |
geocode_reverse |
Reverse Geocode |
geocode_structured |
Structured Geocode |
isochrone |
Isochrone |
place_lookup |
Place Lookup |
place_search |
Discover (POI search) |
postcode_lookup |
Geocode Postcode |
search_along_route |
Search Along Route |
static_map_image |
Static Images |
static_route_map |
Static Images (route/path overlay) |
Tool inputs always use explicit {latitude, longitude} objects; the server handles the
underlying API's coordinate-order conventions internally.
Repository layout
packages/server/— protocol layer: the MCP server published to npm asnextbillion-mcp.src/core/— server assembly (spec compliance, error mapping)src/tools/— one file per tool, grouped by product (places / routing / maps)src/nbclient/— shared NextBillion HTTP client (auth, timeout, retry, key redaction)src/transports/— (stdio is served via the SDK entry; HTTP transport lands here later)
distributions/— distribution layer: zero-logic install packaging per client (Claude Code plugin, Codex plugin bundle, Cursor snippet, manual configuration).deploy/— placeholder for the future hosted (Streamable HTTP) deployment.
Development
npm install
npm run typecheck
npm test # unit + protocol conformance (no network, no key needed)
npm run build
NBAI_API_KEY=<key> npm run test:e2e # live-API smoke tests
Test a local build interactively with the MCP Inspector:
NBAI_API_KEY=<key> npx @modelcontextprotocol/inspector node packages/server/dist/index.js
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.