Skip to main content
Glama
collectible-vault
by cereos20

Universal Collectibles Vault (collectible-vault)

Docker FastAPI FastMCP License

An open-source, containerized, self-hosted web application for collectors to manage comics, Funko Pops, action figures, and trading cards. Replaces subscription services (CLZ, Funko tracking apps) with zero-friction camera scanning (UPC + local vision AI), automatic eBay sold-comps valuation, and FastMCP integration for natural-language AI assistants.


πŸ›οΈ System Architecture

 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚                            User Mobile / Web UI                         β”‚
 β”‚               (HTML5 Camera Scanner / Vision Upload / Dashboard)         β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                      β”‚ REST API / Base64 Image
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚                       FastAPI App Core (Container 1)                    β”‚
 β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
 β”‚  β€’ Barcode/UPC Intake Engine       β”‚  β€’ Valuation Refresh Engine        β”‚
 β”‚  β€’ Pre-flight Metadata Form        β”‚  β€’ Analytics & Dashboard Stats API β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                β”‚ SQLite Hybrid Schema              β”‚ Base64 Vision Payload
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚    SQLite Hybrid Vault DB  β”‚      β”‚ Ollama Vision LLM (Container 3)     β”‚
 β”‚  (JSON Dynamic Metadata)   β”‚      β”‚ (qwen2-vl / llava model endpoint)   β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                β”‚ Direct SQLite access / ORM
 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚  FastMCP Server Daemon     β”‚ <=========>  Claude Desktop / Ollama Agent
 β”‚  (Natural Language AI)     β”‚              "Show top comic value gains"
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Related MCP server: amem

πŸš€ Key Features

  1. Frictionless "Snap & Add" Intake:

    • Path A (UPC Barcode): Decode box/cover barcodes with instant pre-populated metadata lookup.

    • Path B (Vision AI LLM): Upload photos directly to a local vision LLM (Ollama qwen2-vl or llava) to extract Title, Issue #, Publisher, Era, and estimated condition.

    • Pre-flight Confirmation UI: Review auto-populated metadata and AI confidence score before saving.

  2. Universal Dynamic Hybrid Schema:

    • Universal fields across all item types (id, title, category, purchase_price, current_market_value, condition_grade, notes).

    • Dynamic metadata_json field for category-specific tags (issue number, variant, box number, card set, grading service).

  3. Live Market Valuation Engine:

    • Sold-comps algorithm simulating completed market listings to track true Fair Market Value (FMV).

    • Keeps historical valuation trend points to plot financial gains/losses over time with interactive Chart.js line graphs.

  4. FastMCP Natural Language AI Agent Server:

    • Exposes vault tools (get_vault_summary, add_item, query_item_market_value, list_top_collectibles, refresh_vault_valuations) to Claude Desktop or Ollama agents.


🐳 Quickstart Deployment with Docker Compose

Prerequisites

  • Docker & Docker Compose installed on Linux / Proxmox VM.

1. Clone & Launch Stack

git clone https://github.com/your-username/collectible-vault.git
cd collectible-vault

docker-compose up -d

2. Access Web Dashboard

Open your web browser and navigate to:

http://localhost:8000

Or use your Proxmox VM IP: http://<PROXMOX_SERVER_IP>:8000

3. Enable Vision LLM Model (Optional)

Pull the vision LLM into the Ollama container:

docker exec -it collectible-vault-ollama ollama pull qwen2-vl

πŸ€– FastMCP Server Setup for AI Assistants

Claude Desktop Integration (claude_desktop_config.json)

Add the following to your Claude Desktop config file:

{
  "mcpServers": {
    "collectible-vault": {
      "command": "python",
      "args": [
        "/path/to/collectible-vault/mcp_server.py"
      ],
      "env": {
        "DATABASE_URL": "sqlite:////path/to/collectible-vault/vault.db"
      }
    }
  }
}

Now ask Claude:

"What's the total value of my comic book vault?"
"Add a 1st Edition Charizard card bought for $400 with current market value $1,850."


πŸ› οΈ REST API Reference

Method

Endpoint

Description

GET

/api/items

List collectibles (filters: category, search, sort_by)

POST

/api/items

Save new item to vault

GET

/api/items/{id}

Get item detail & valuation timeline

DELETE

/api/items/{id}

Delete item from vault

POST

/api/intake/vision

Upload photo for Ollama Vision LLM parsing

POST

/api/intake/barcode

Lookup UPC barcode metadata

POST

/api/valuation/refresh

Trigger live eBay sold comps refresh

GET

/api/dashboard/stats

Get aggregated portfolio stats & top items


πŸ“„ License

Released under the MIT License.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language-driven DeFi operations including swaps, lending, bridging, and onchain transactions across multiple protocols via MCP-compatible clients.
      32 npm
      9
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to persistently remember user preferences and context through client-side encrypted vaults, ensuring memory is portable and private across different MCP clients.
      1
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      Enables MCP-compatible AI assistants to query encrypted personal finance data through a local-only connection, with decryption handled in the user's browser session so data never leaves their computer.
      7
      -