Inventory Tracker MCP Server
A Model Context Protocol (MCP) server that lets Claude AI manage a real PostgreSQL inventory database using natural language.
README
š¦ Inventory Tracker MCP Server
A Model Context Protocol (MCP) server that lets Claude AI manage a real PostgreSQL inventory database using natural language.
š ļø Tech Stack
- Python 3.11
- MCP (Model Context Protocol) by Anthropic
- PostgreSQL
- psycopg2
- python-dotenv
⨠Features
- Add new items or restock existing ones
- Sell/remove stock with automatic low stock warnings
- View full inventory grouped by category
- Check items running low on stock
- View full activity history log
- Delete items permanently
š How It Works
Claude Desktop connects to this MCP server and uses natural language to manage inventory in a real PostgreSQL database.
Example prompts:
- "Add 50 units of Coffee at $12.50 in category Food"
- "List my inventory"
- "Check low stock"
- "Show my activity history"
āļø Setup
1. Install dependencies
pip install -r requirements.txt
2. Create .env file
DB_HOST=localhost DB_PORT=5432 DB_NAME=inventory_db DB_USER=your_user DB_PASSWORD=your_password
3. Run the server
python server.py
4. Connect to Claude Desktop
Add to claude_desktop_config.json: { "mcpServers": { "inventory-tracker-pro": { "command": "python", "args": ["/path/to/server.py"] } } }
š Project Structure
inventory-mcp-pg/ āāā server.py # Main MCP server āāā requirements.txt # Dependencies āāā .env # Database credentials (not uploaded) āāā README.md # This file
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.