Grocery Logger MCP Server
Enables logging and analyzing grocery purchases, tracking prices, spending patterns, and purchase history through natural language with Claude Desktop.
README
Grocery Logger MCP Server
A Model Context Protocol (MCP) server for logging and analyzing grocery purchases. Works with Claude Desktop to track prices, spending patterns, and purchase history.
Features
- Bulk add grocery items with timestamp, vendor, item name, category, price, quantity, and unit
- Query item prices with average price and purchase history
- List items by category with price statistics
- Analyze spending by vendor, category, or date range
- List categories to maintain consistency when logging
Installation
Requires Python 3.10+ and uv.
# Clone the repo
git clone <your-repo-url>
cd grocery_mcp
# Install dependencies
uv sync
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"grocery-logger": {
"command": "/usr/local/bin/uv",
"args": [
"run",
"--directory", "/path/to/grocery_mcp",
"grocery-mcp"
]
}
}
}
Then restart Claude Desktop.
Available Tools
| Tool | Description |
|---|---|
add_grocery_items |
Bulk add grocery purchases |
query_item_price |
Get price history and average for an item |
list_items_by_category |
List all items in a category with stats |
query_spending |
Analyze spending by vendor, category, or date |
list_categories |
List existing categories for consistency |
Example Usage
Once configured, ask Claude:
- "Log these groceries: 2 lbs bananas $2.99, 1 gallon milk $4.50 from Costco"
- "What was the price of green onions?"
- "How much did I spend at Trader Joes this month?"
- "Show me all produce items I've bought"
- "What's my average spending by category?"
Data Storage
Grocery data is stored in data/grocery.db (SQLite). This file is gitignored to keep your personal data private.
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.