Anwani MCP: create and manage permanent 9-digit address codes through OAuth (9code.app).
Anwani MCP connects AI agents to Anwani, the digital address infrastructure for permanent 9-digit address codes tied to real-world locations.
Create, list, update, share, and delete your Anwani addresses through OAuth, with the same ownership, permissions, and account limits used across Anwani.
Works with Cursor and other MCP-compatible clients.
Product page: https://9code.app/ai-agents
Sign-in uses Google OAuth + PKCE in the browser — approve once, then the client 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.
npm install -g anwani-mcp
anwani-mcp-login
Or without a global install:
npx -y anwani-mcp-login
What happens:
No JSON paste. Never paste codes or tokens into chat.
Fallback (rare): anwani-mcp-login --paste if loopback is blocked on your network.
Cursor is the first supported MCP client. Recommended config (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.
| Tool | Needs scope | Notes |
|---|---|---|
session | — | Connection + granted scopes (no internal IDs) |
list_addresses | address:read | Your addresses only |
create_address | address:create | Requires idempotency_key + real lat/lng from you |
patch_address | address:update | Field patch; coordinates locked after create |
share_address | address:share | Public 9code.app/code/… link |
delete_address | address:delete | Destructive |
Photo upload is not available via this client — use the Anwani app or Telegram for photos.
~/.anwani-mcp/ (never inside this package).anwani_at_… values.git clone https://github.com/Anwani-app/anwani-mcp.git
cd anwani-mcp
node login.mjs
From a clone:
node smoke.mjs
See PUBLISH.md for Official MCP Registry, Glama, Smithery, and npm.
npx -y anwani-mcp after anwani-mcp-loginhttps://us-central1-nine-code-anwani.cloudfunctions.net/mcpRemoteMIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y anwani-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-anwani-app-anwani-mcp": {
"command": "npx",
"args": [
"-y",
"anwani-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceanwani-mcpnpmAnwani works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.