Anwani MCP
OfficialManage your Anwani 9-digit addresses through OAuth with the same account ownership and limits as Anwani.
Check connection status and granted scopes.
List all owned addresses, newest updates first.
Get one owned address by its 9-digit code.
Create a new address using real user-provided coordinates and an idempotency key, with optional address details and privacy PIN.
Update mutable address fields on an existing code; coordinates cannot be changed after creation.
Generate a public share link for an owned address.
Permanently delete an owned address and its photos.
Photo upload is not available via this MCP bridge.
Uses Google OAuth (with PKCE) for browser-based sign-in and consent, so the MCP server can authenticate the user's Anwani account and obtain the scopes needed to manage their addresses.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Anwani MCP create an address code for my home at 24.7136,46.6753"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Anwani MCP
Anwani is a digital addressing platform that gives every physical location a permanent 9-digit address code.
This MCP connects AI agents to Anwani so they can create and manage those codes through OAuth — same account, ownership, and limits.
Create, list, update, share, and delete your Anwani addresses through OAuth, with the same ownership, permissions, and account limits used across Anwani.
Product page: https://9code.app/ai-agents
Sign-in uses Google OAuth + PKCE in the browser — approve once, then the bridge saves the token on this machine.
OAuth client id: anwani-cursor
This package is a connection client only. It does not contain Firebase project internals, Firestore paths, or server secrets.
Requirements
Node.js 18+
Cursor (or another MCP client)
An Anwani account (created automatically during Google consent if you are new)
Related MCP server: Google Maps MCP Server
Install
npm install -g anwani-mcp
anwani-mcp-loginOr without a global install:
npx -y anwani-mcp-loginWhat happens:
A local callback server starts on this machine
Your browser opens the Anwani authorize page
You sign in with Google and click Allow
The browser returns to localhost — the bridge saves the token automatically
No JSON paste. Never paste codes or tokens into chat.
Fallback (rare): anwani-mcp-login --paste if loopback is blocked on your network.
Cursor MCP config
Recommended (always uses the published package):
{
"mcpServers": {
"anwani": {
"command": "npx",
"args": ["-y", "anwani-mcp"]
}
}
}Then open a new chat and ask Anwani to create or update an address. Provide a real map pin (coordinates or Maps link) — the agent must not invent a location.
Tools
Tool | Needs scope | Notes |
| — | Connection status + granted scopes (no internal IDs); legacy name |
|
| Your addresses only, newest first |
|
| One owned address by its 9-digit code |
|
| Requires |
|
| Field patch; coordinates locked after create |
|
| Public |
|
| Destructive |
Photo upload is not available via this bridge — use the Anwani app or Telegram for photos.
Security
Tokens live in
~/.anwani-mcp/(never inside this package).Access tokens are opaque
anwani_at_…values.Same account quota as the app / Telegram (usually 10 addresses).
Revoke by running login again (re-consent invalidates prior tokens) or email support@9code.app.
From source
git clone https://github.com/Anwani-app/anwani-mcp.git
cd anwani-mcp
node login.mjsSmoke test
From a clone:
node smoke.mjsPublish / directories
See PUBLISH.md for Official MCP Registry, Glama, Smithery, and npm.
Local (Cursor):
npx -y anwani-mcpafteranwani-mcp-loginRemote:
https://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemote
License
MIT
Available Tools
7 toolscheck_sessionARead-onlyIdempotentInspect
Returns connection status for the signed-in Anwani user as {ok, connected, scopes, expiresAt}. Identity comes from the saved OAuth token (no parameters) and never includes Firebase UIDs or internal IDs. Use it when unsure the user is signed in before calling address tools; do not use it to list or change addresses (use list_addresses, get_address, create_address, patch_address instead). Read-only.
Inputs: no named parameters. Returns: ok, scopes, connected, expiresAt
create_addressAInspect
Creates one new permanent 9-digit Anwani address within the account quota and returns {ok, code, created, url}. Requires a real user-provided latitude/longitude (map pin) — NEVER invent coordinates, city, or name; if the user gave no location (coords, Maps link, or clear place), ask first and do not call with sample data. Use it for new places; use patch_address to edit an existing code. Not idempotent unless the same idempotency_key is retried, which returns the original result.
Inputs: latitude (required), longitude (required), idempotency_key (required), pin, +15 more. Returns: ok, url, code, created
delete_addressADestructiveInspect
Permanently deletes an owned address and its photos (irreversible) and returns {ok, deleted}. Prefer patch_address for edits; confirm user intent before calling. Fails if the code is not owned by the connected account.
Inputs: code (required).
get_addressARead-onlyIdempotentInspect
Returns one owned address by its permanent 9-digit code as {ok, address}. Use it when the user already provided a code; use list_addresses to discover codes. Fails clearly if the code is invalid or not owned by the connected account. Read-only; does not mutate.
Inputs: code (required). Returns: ok, address
list_addressesARead-onlyIdempotentInspect
Returns all addresses owned by the connected account as {ok, addresses[]} (same quota as app/Telegram, typically up to 10), newest updates first. Use it to browse or when you do not yet know a 9-digit code; use get_address when you already have a code. Read-only; the account comes from OAuth.
Inputs: no named parameters. Returns: ok, addresses
patch_addressAInspect
Updates only the fields present in changes on an owned address and returns the result; omitted fields stay unchanged. Coordinates are immutable after create. Use it to edit label, instructions, floor and similar fields; use create_address for a new pin; use delete_address only to remove an address permanently. Fails if the code is not owned by the connected account.
Inputs: code (required), changes (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a distinct resource+action: session status, list, get, create, patch, share, delete. Descriptions explicitly cross-reference when to use a sibling tool (e.g. list_addresses vs get_address), leaving no plausible confusion.
All seven names follow a strict verb_noun snake_case pattern (patch_address, check_session, list_addresses, get_address, create_address, share_address, delete_address). The only quirk is 'patch' instead of 'update', which is internally consistent with the tool's PATCH semantics.
Seven tools is a tight, well-earned set: one per CRUD operation plus share and session check. Nothing feels redundant or missing at this scope.
Full lifecycle is covered — create, list, get, patch, delete, share, and auth status — with no dead ends. Minor gaps exist around ancillary resources such as photo management (photos are only mentioned as deleted) and no coordinate update path, though the latter is documented as intentional.
Maintenance
Related MCP Connectors
Hosted Google Business Profile MCP server: reviews, posts, profile edits, Maps rank. OAuth sign-in.
Real-time Google Maps local business leads, reviews, places & emails MCP. OAuth or API key.
4 Google Maps endpoints. Pay per call in USDC via x402.
Create and manage CodeQR short links, QR codes, and analytics from any MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for Google Workspace APIs - Docs, Sheets, Drive, Gmail, and Calendar. Enables reading, creating, and editing Google Docs and Sheets, managing comments, reading emails, and viewing calendar events.3417MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to access Google Maps services including places search, details, directions, geocoding, and nearby search through natural language.628 PyPI3MIT
- AlicenseBqualityDmaintenanceProvides comprehensive access to Google Maps Platform APIs through MCP, enabling geocoding, places search, routing, and geospatial operations.15115 npm3MIT
- AlicenseBqualityDmaintenanceMCP server enabling Cursor to interact with Google Workspace services including Gmail, Calendar, Drive, Docs, Sheets, Slides, Chat, and People via natural language.58MIT