FanOracle
Provides access to eBay's Browse API to fetch real sold listings for comic book pricing, including min/max/avg prices and sample listings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FanOracle grade this comic from the photo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FanOracle: Comic Book Edition
AI-powered comic book authentication, grading, and valuation β secured on the Casper blockchain.
Built for the Casper Network Hackathon | MCP + Odra/Rust Smart Contract
Contract repo: https://github.com/ffffffffhugfadil/fanoracle-comic
π What is FanOracle?
FanOracle is a Model Context Protocol (MCP) server that brings AI intelligence to comic book collecting. Upload a photo of any comic β raw or CGC-slabbed β and FanOracle will:
Identify the comic title, issue, publisher, and year from the cover or CGC label
Grade the condition using the CGC 0.5β10.0 scale
Verify CGC/CBCS slab authenticity (detect fakes)
Check if it's a key issue (first appearances, deaths, origins)
Price it using real eBay sold listings
Store it permanently on the Casper blockchain
Related MCP server: DocImprint
π οΈ Tech Stack
Layer | Technology |
Smart Contract | Rust + Odra Framework 2.7.0 |
Blockchain | Casper Network Testnet |
AI Vision | Groq Llama 4 Scout (Vision) |
Market Data | eBay Browse API (Production) |
Comic Database | Comic Vine API |
Interface | MCP Server + Claude Desktop |
π¦ Smart Contract
Deployed on Casper Testnet:
Field | Value |
Contract Hash |
|
Package Hash |
|
Deploy Hash (v2) |
|
Network |
|
Entry Points:
initβ Initialize contractadd_comic(title, issue, grade_x10, is_key, value_cents)β Add comic to collectionget_count()β Get total comics in collectionget_comic_title(id)β Get comic title by IDget_comic_grade(id)β Get comic grade by IDget_comic_value(id)β Get comic estimated value by IDget_comic_is_key(id)β Check if comic is key issue
π§ MCP Tools (5 Tools)
1. grade_comic
AI-powered comic grading from photo. Reads CGC/CBCS label automatically.
Input: image_url or image_base64
Output: grade (0.5-10.0), condition, defects, slab detection, creator credits2. verify_slab
Fake CGC/CBCS slab detector using AI visual analysis.
Input: image_url + cert_number
Output: authenticity score (0-100), red flags, green flags, verdict, CGC lookup URL3. fetch_comic_price
Real market prices from eBay sold listings.
Input: title, issue_number, grade (optional)
Output: min/max/avg price, sample listings, sales count4. detect_key_issue
Key issue detection via Comic Vine database.
Input: title, issue_number, publisher
Output: is_key_issue, key_reasons, first_appearances, cover_date5. collection_value
Casper blockchain collection tracker + value estimator.
Input: action (get_count | add_comic | value_estimate), comics[]
Output: on-chain count, deploy_hash, total value, breakdown㪠Demo Flow
1. πΈ Upload CGC slab photo
β
2. π€ grade_comic β "Wolverine #76, CGC 8.5, White Pages, Authentic"
β
3. π verify_slab β "AUTHENTIC β Score 98/100, Hologram β
"
β
4. π detect_key_issue β "Lady Deathstrike & Puck appearance"
β
5. π° fetch_comic_price β "Avg $40 | 20 eBay sales"
β
6. βοΈ collection_value (add_comic) β "Stored on Casper blockchain β
"π Setup
Prerequisites
Node.js 18+
Claude Desktop
API Keys: Groq, eBay (Production), Comic Vine
Install
git clone https://github.com/your-repo/fanoracle-mcp
cd fanoracle-mcp
npm install
cp .env.example .env
# Fill in API keys in .env
npm run buildClaude Desktop Config
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"fanoracle": {
"command": "node",
"args": ["/path/to/fanoracle-mcp/dist/index.js"],
"env": {
"CASPER_RPC": "https://node.testnet.casper.network/rpc",
"CASPER_CHAIN": "casper-test",
"CONTRACT_HASH": "contract-24ca090961cafb32c6cb39bd6034d175c8e47002e1e32c20e8cf54ca9abb8d40",
"GROQ_API_KEY": "your_groq_key",
"EBAY_CLIENT_ID": "your_ebay_client_id",
"EBAY_CLIENT_SECRET": "your_ebay_client_secret",
"COMIC_VINE_API_KEY": "your_comic_vine_key"
}
}
}
}π Example Outputs
grade_comic
{
"detected_title": "Amazing Spider-Man",
"detected_issue_number": "300",
"is_slabbed": true,
"grading_company": "CGC",
"certified_grade": 9.2,
"grade_label": "Near Mint-",
"confidence": "high",
"hologram_detected": true,
"slab_integrity": "intact",
"notable_features": ["White Pages", "1st Full Venom Appearance"]
}verify_slab
{
"verdict": "AUTHENTIC",
"authenticity_score": 98,
"confidence": "high",
"green_flags": ["Correct label font", "Hologram present", "Grade position correct"],
"red_flags": [],
"cgc_lookup_url": "https://www.cgccomics.com/certlookup/details/?certInput=3944834002"
}fetch_comic_price
{
"title": "Amazing Spider-Man",
"issue_number": "300",
"grade": "9.2",
"sales_found": 20,
"price_avg": 774.85,
"price_min": 349.99,
"price_max": 3300.00,
"currency": "USD"
}π Links
Casper Explorer: https://testnet.cspr.live/deploy/2d624cd2e18b98c321e5799c24b52e90695cd2cb6ec8c1fd6c6caead9ef677ca
CGC Cert Lookup: https://www.cgccomics.com/certlookup/
Comic Vine: https://comicvine.gamespot.com/api/
π Live Demo
Built with β€οΈ for the Casper Network Hackathon*
Available Tools
5 toolscollection_valueA
Calculate the total estimated value of a comic collection stored on the Casper blockchain. Optionally add or query comics from the on-chain registry.
Inputs: action (required), comics.
detect_key_issueC
Check whether a comic issue is a 'key issue' (first appearance, origin, death, etc.) using the Comic Vine database.
Inputs: title (required), issue_number (required), publisher.
fetch_comic_priceA
Fetch recent sold prices for a comic book from eBay. Returns min, max, and average sale price.
Inputs: title (required), issue_number (required), grade.
grade_comicA
Analyze a comic book image and estimate its condition grade (0.5β10.0 CGC scale). Provide a base64-encoded image or a public image URL.
Inputs: notes, image_url, image_base64.
verify_slabB
Verify authenticity of a CGC/CBCS graded comic slab from a photo. Detects fake, tampered, or fraudulent slabs using AI visual analysis.
Inputs: image_url, cert_number, image_base64, claimed_grade, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 5 tools
Each tool addresses a distinct facet of comic book evaluation: collection value estimation, key issue detection, price fetching, grading, and slab verification. There is no overlap or confusion between tool purposes.
Four of five tools follow a clear verb_noun pattern (detect_key_issue, fetch_comic_price, grade_comic, verify_slab). 'collection_value' uses a noun_noun structure, which is a minor deviation but still intuitively clear.
With five tools, the server covers essential comic book operations without being overwhelming or sparse. Each tool serves a clear purpose and contributes to a coherent workflow.
Core functionalities are well-covered, but there are minor gaps: no explicit tool for removing comics from a collection or for searching comics by metadata. However, the existing tools handle the primary use cases effectively.
Maintenance
Related MCP Connectors
TCG oracle: calibrated prices & risk, AI grading, loan terms, fantasy souls - proven on-chain. 23 to
First AI-driven community meme coin on BSC. Mint, trade and referral tools for AI agents.
Values graded sports cards and PokΓ©mon/TCG slabs by grade from real sales. Free, read-only.
Create, test and play AI-native games through server-authoritative contracts.
Related MCP Servers
- AlicenseAqualityBmaintenanceOn-chain TCG price oracle for the LitecoinVM ecosystem. 6 tools: search 433K+ trading cards, 60-day price history, Merkle proof verification on LiteForge (Chain 4441), Monte Carlo simulation, and AI card grading via Qwen 2.5 VL.71Business Source 1.1
- FlicenseNot gradedqualityAmaintenanceVerifiable document intelligence for AI agents. Extract, summarize, claim-check, and notarize PDFs & URLs with cryptographic proofs, cross-document search, and on-chain attestation via Base L2.-
- FlicenseNot gradedqualityDmaintenanceAI-driven portfolio dashboard and MCP server for the Casper blockchain, enabling wallet monitoring, validator staking analysis, RWA compliance checks, and on-chain transaction generation.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with the Casper blockchain through MCP tools for reading node state, inspecting blocks, querying global state, and evaluating treasury policies. Includes a Treasury Guard reference agent that autonomously enforces DeFi treasury policies on Casper Testnet.MIT