CampusLostFoundMCP

CampusLostFoundMCP

0

The Campus Lost & Found MCP Server allows users to report, track, and summarize lost and found items on campus via a simple interface. It features integration with Claude Desktop and uses local text files for storage.

๐ŸŽ’ Campus Lost & Found MCP Server

A Claude Desktop-compatible MCP (Model Context Protocol) server that lets users report, track, and summarize lost and found items on campus via a simple CLI or LLM interface.


๐Ÿš€ Features

  • Report lost or found items
  • View lists of reported items
  • Fetch the latest lost/found item
  • Generate a summary prompt for Claude to reason about
  • Persistent storage using local text files
  • Works seamlessly with Claude Desktop (Anthropic)

๐Ÿ“ Project Structure

CampusLostFoundMCP/ โ”œโ”€โ”€ main.py # MCP server definition using FastMCP โ”œโ”€โ”€ lost.txt # Stores lost item entries (auto-created) โ”œโ”€โ”€ found.txt # Stores found item entries (auto-created) โ”œโ”€โ”€ pyproject.toml # uv/mcp environment config โ”œโ”€โ”€ uv.lock # Dependency lock file โ””โ”€โ”€ README.md


๐Ÿงช Tool Functions

These can be called directly inside Claude Desktop:

report_lost("wallet near cafeteria")
report_found("blue bottle in gym")
show_lost()
show_found()
latest_lost()
latest_found()
summary_prompt()

๐Ÿ› ๏ธ Setup Instructions

  1. Clone the repository:

    git clone https://github.com/<your-username>/CampusLostFoundMCP.git cd CampusLostFoundMCP

  2. Ensure Python 3.11+ is installed

  3. Install dependencies:

    uv init . uv add "mcp[cli]"

  4. Run the server:

    uv run main.py

๐Ÿงฉ Claude Desktop Integration

Add the following to your claude_desktop_config.json:

{ "mcpServers": { "Campus Lost & Found": { "command": "uv", "args": [ "--directory", "/absolute/path/to/CampusLostFoundMCP", "run", "main.py" ] } } }

๐Ÿ“ฌ Future Enhancements

Category filtering (e.g., electronics, books)

Date-based search

SQLite or cloud storage support

Slack or email notifications