A Model Context Protocol (MCP) server that connects to your Homebox home inventory system, allowing AI assistants to query and explore your home inventory data in real-time.
This MCP server acts as a bridge between AI assistants (like Claude) and your Homebox home inventory database. It allows your AI assistant to:
- Search for items in your inventory
- Get detailed information about specific items
- List all locations where you store things
- List all labels/categories you use
- Find all items in a specific location
- Find all items with a specific label
Choose the integration method that works best for your use case:
- Open WebUI Functions - Native integration for Open WebUI with function-calling models (recommended for Ollama)
- Cocktail Examples - Specific examples for home bar/cocktail use cases
- Docker / QNAP Container Station - Run MCP server in a container
- Native QNAP Installation - Run MCP server directly on QNAP (recommended for Claude Desktop)
- Local Installation - Run MCP server on your computer (see below)
Which should I choose?
- Using Ollama with Open WebUI? → Use Open WebUI Functions
- Using Claude Desktop? → Use Native QNAP Installation or Docker
- Running locally on Windows/Mac/Linux? → Follow Local Installation below
Note: If you're using Docker/QNAP, see DOCKER.md instead.
Before you begin, you'll need:
- Node.js - Version 18 or higher (Download here)
- A running Homebox instance - You should have Homebox already installed and accessible
- Homebox login credentials - Your email and password for Homebox
- Go to nodejs.org
- Download the LTS (Long Term Support) version
- Run the installer and follow the prompts
- Open a terminal/command prompt and verify installation:
Both commands should show version numbers.
node --version npm --version
If you haven't already:
git clone <your-repository-url>
cd Homebox-mcpIn the Homebox-mcp folder, run:
npm installThis will download all the required libraries.
-
Copy the example configuration file:
cp config.json.example config.json
-
Open
config.jsonin a text editor and fill in your details:{ "homeboxUrl": "http://localhost:7745", "email": "your-email@example.com", "password": "your-password" }Replace:
homeboxUrl: The URL where your Homebox is running (default ishttp://localhost:7745)email: Your Homebox login emailpassword: Your Homebox login password
-
Save the file
Compile the TypeScript code:
npm run buildBefore running the full server, test that it can connect to Homebox:
npm testThis will verify your configuration and show you if everything is working. If successful, you'll see green checkmarks and a summary of your inventory.
Alternatively, you can test the full server:
npm startIf successful, you should see:
Starting Homebox MCP Server...
Successfully authenticated with Homebox
Homebox MCP Server running on stdio
Press Ctrl+C to stop the server. You're ready to configure your AI assistant!
To use this MCP server with Claude Desktop:
-
Open your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add the Homebox MCP server to the configuration:
{ "mcpServers": { "homebox": { "command": "node", "args": ["/absolute/path/to/Homebox-mcp/dist/index.js"] } } }Replace
/absolute/path/to/Homebox-mcpwith the actual full path to your Homebox-mcp folder.Example for macOS/Linux:
{ "mcpServers": { "homebox": { "command": "node", "args": ["/home/username/Homebox-mcp/dist/index.js"] } } }Example for Windows:
{ "mcpServers": { "homebox": { "command": "node", "args": ["C:\\Users\\YourName\\Homebox-mcp\\dist\\index.js"] } } } -
Save the file and restart Claude Desktop
Once configured, you can ask Claude to interact with your Homebox inventory. Here are some example queries:
"Can you search my Homebox inventory for 'screwdriver'?"
"Show me all the locations in my Homebox inventory"
"What items do I have in the garage?" (first get the location ID using list_locations, then use get_items_by_location)
"What labels/categories do I use in Homebox?"
"Can you get the full details for item ID 123?"
"Show me all items labeled as 'Electronics'"
For more detailed examples and use cases, see EXAMPLES.md.
The MCP server provides these tools:
- search_items - Search for items by name or description
- get_item - Get complete details about a specific item
- list_locations - List all storage locations
- get_location - Get details about a specific location
- list_labels - List all labels/categories
- get_label - Get details about a specific label
- get_items_by_location - Get all items in a location
- get_items_by_label - Get all items with a label
- Check that your
config.jsonhas the correct email and password - Verify that your Homebox instance is running
- Make sure the
homeboxUrlis correct
- Run
npm installagain - Make sure you ran
npm run build
- Check that Homebox is running
- Verify the URL in
config.jsonis correct - If using Docker, make sure the Homebox container is running
- Check that the path in
claude_desktop_config.jsonis absolute (full path) - Restart Claude Desktop after changing the configuration
- Check Claude Desktop logs for errors
- Your
config.jsonfile contains your Homebox password - keep it secure - The
.gitignorefile is configured to preventconfig.jsonfrom being committed to git - Never share your
config.jsonfile publicly
This MCP server:
- Connects to your Homebox instance via its REST API
- Authenticates using your credentials
- Provides tools that Claude can use to query your inventory
- Returns data in a format that Claude can understand and present to you
The server doesn't directly access the SQLite database. Instead, it uses Homebox's official API, which is safer and more reliable for real-time access.
The Open WebUI integration:
- Installs as a native function in Open WebUI
- Calls Homebox REST API directly from within Open WebUI
- Works with any function-calling capable Ollama model (Llama 3.1, Mistral, Qwen, etc.)
- No separate server process needed
- Perfect for Docker deployments on QNAP
See OPEN-WEBUI.md for complete setup instructions.
If you want to modify the server:
- Edit files in the
src/directory - Rebuild with
npm run build - Restart the server
MIT
If you encounter issues:
- Check the Troubleshooting section above
- Verify your Homebox instance is working properly
- Check the Homebox documentation at homebox.software