haksnbot-map
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
haksnbot-map
An MCP (Model Context Protocol) server that provides persistent location storage for AI agents. Uses SQLite with full-text search for efficient storage and retrieval of named locations with coordinates, tags, and spatial queries.
Part of the Haksnbot suite: This project was originally developed as part of Haksnbot, an autonomous Minecraft bot. The suite includes five repos that work together: haksnbot-tools (Minecraft bot control), haksnbot-mind (the autonomous agent), haksnbot-admin (server administration), haksnbot-memory (persistent memory), and haksnbot-map (this repo - location storage). Each can be used independently, but they're designed to work together.
Features
Named locations - Store places with unique names (e.g., "spawn", "my_base", "nether_hub")
Full coordinates - X, Y, Z with dimension support (overworld, nether, end)
Tagging system - Organize locations with flexible tags (e.g., "farm", "public", "danger")
Full-text search - Find locations by name, description, or tags using FTS5
Spatial queries - Find nearest locations, search within radius, calculate distances
Nether math - Convert coordinates between overworld and nether (÷8 or ×8)
Related MCP server: persistent-kb-mcp
Installation
git clone https://github.com/haksndot/haksnbot-map.git
cd haksnbot-map
npm installUsage with Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"map": {
"command": "node",
"args": ["/path/to/haksnbot-map/src/index.js"]
}
}
}Configuration
The database path can be set via environment variable:
{
"mcpServers": {
"map": {
"command": "node",
"args": ["/path/to/haksnbot-map/src/index.js"],
"env": {
"MAP_DB_PATH": "/path/to/locations.db"
}
}
}
}If not set, defaults to locations.db in the package directory.
Available Tools
Core Operations
Tool | Description |
| Save a named location with coordinates, dimension, description, tags, and owner |
| Retrieve a specific location by name |
| List all locations with optional dimension/owner filtering |
| Remove a saved location |
Search & Tags
Tool | Description |
| Full-text search across names, descriptions, and tags |
| Find locations with specific tags (match all or any) |
| Get all unique tags with usage counts |
| Add tags to an existing location |
| Remove tags from a location |
Spatial Queries
Tool | Description |
| Calculate distance between two points (supports names or raw coords) |
| Find the N nearest locations to a point |
| Find all locations within a specified radius |
| Convert coordinates between overworld and nether |
Statistics
Tool | Description |
| Get overview: total locations, by dimension, by owner, top tags |
Location Structure
Each location contains:
name - Unique identifier for the location (required, case-insensitive)
x, y, z - Coordinates (required)
dimension - overworld, nether, or end (default: overworld)
description - What this place is
tags - Array of categorization tags (e.g.,
["farm", "public", "wheat"])owner - Who saved this location (player name)
created_at / updated_at - Timestamps
Examples
> Save my base at coordinates 100, 64, -200
> Where is the nether hub?
> What locations are near spawn?
> Find all public farms
> How far is it from my base to the end portal?
> What are the nether coordinates for the witch farm?Requirements
Node.js 18+
Dependencies
better-sqlite3 - SQLite bindings
@modelcontextprotocol/sdk - MCP server SDK
Related Projects
haksnbot-mind - Autonomous Minecraft bot using Claude Agent SDK
haksnbot-tools - Minecraft MCP tools
haksnbot-admin - Server administration MCP tools
haksnbot-memory - Persistent memory storage
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Store, query, and update structured data from any AI agent
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Related MCP Servers
- AlicenseAqualityBmaintenanceA local-first MCP server that gives AI coding agents persistent memory and controlled commands. Features a git-backed markdown knowledge vault with FTS5 search, surgical section edits, token-aware context budgeting, and a sandboxed command engine with human approval gates. Works with Claude Code, Cursor, Copilot, Gemini, and more.621Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA local-first MCP server providing persistent, searchable knowledge base via SQLite, enabling AI agents to save and recall facts across sessions without cloud dependencies.MIT
- AlicenseAqualityNot gradedmaintenancePersistent memory MCP server for AI agents, using SQLite with hybrid keyword and semantic search for long-term memory storage.5Do What The F*ck You Want To Public
- AlicenseAqualityCmaintenanceAn MCP server that gives agents persistent memory with namespaced facts, tags, full-text search, and TTL expiry, all running locally on SQLite with zero external dependencies.83MIT