HimiTrace MCP server for on-chain product traceability

HimiTrace MCP server for on-chain product traceability

himitrace-mcp•byhieuluongxuan

An MCP server that lets AI agents query Polygon Mainnet for product authenticity, supply chain events, certificates, and batch lineage.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Checks whether a product or batch ID is registered on the Polygon blockchain.
  • •Retrieves a product's chronological supply chain event timeline with GS1 EPCIS payload data.
  • •Lists certificates attached to a product, including IPFS gateway links.
  • •Traces Bill of Materials lineage, such as parent-child batch splits and merges.

BEST FOR

  • •AI agents auditing the provenance and authenticity of physical goods.
  • •Users needing free read-only supply chain lookups without spending crypto tokens.

ABOUT HIMITRACE-MCP

HimiTrace MCP server for on-chain product traceability is cataloged as an MCP server attributed to hieuluongxuan. An MCP server that lets AI agents query Polygon Mainnet for product authenticity, supply chain events, certificates, and batch lineage. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for HimiTrace MCP server for on-chain product traceability are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which blockchain network does the server query?

It queries Polygon Mainnet (Chain ID 137) at the listed contract address.

What kinds of certificates can be retrieved?

Quality certificates such as USDA Organic, VietGAP, and Fair Trade are stored on IPFS with their hashes anchored on-chain.

Upstream README

View this exact version on GitHub

README.md · cbb92a36f41e · Fetched 2026-11-13 11:30:42 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

HimiTrace MCP Server — Blockchain Product Traceability for AI Agents (TypeScript Port)

Polygon Mainnet Model Context Protocol Node.js

HimiTrace is a Model Context Protocol (MCP) server that connects AI agents directly to the Polygon Mainnet blockchain to check product authenticity, verify origins, and inspect supply chain event lineages. Developed by HimiTek (himitek.com), it bridges immutable on-chain trust data with natural language queries for AI agents.

This allows any MCP-compatible AI agent (such as Claude Desktop, Cursor, Windsurf, or ChatGPT) to query, track, and audit physical goods on-chain in plain language.


Key Features

  • On-Chain Verification: Verify if a product or batch ID is registered on the Polygon blockchain (tamper-proof, immutable).
  • Supply Chain Timeline (GS1 EPCIS compatible): Retrieve the full chronological event log of a product (harvesting, processing, packaging, shipping) directly from Polygon.
  • Certificate Verification: Access quality certificates (USDA Organic, VietGAP, Fair Trade, etc.) stored on IPFS with their hashes anchored on-chain.
  • BOM (Bill of Materials) Lineage: Trace parent-child merge/split relationships of raw material batches.
  • Zero Gas Cost: All read operations from the smart contract are 100% free and do not require any crypto tokens (POL) to be spent by the AI agent.

Technical Specifications

  • Contract Address: 0xFF7A3429427aFda56b2994B2F3eeF4464b851EE0
  • Network: Polygon Mainnet (Chain ID: 137)
  • Framework: built on Anthropic's Model Context Protocol (MCP) SDK using TypeScript and ethers.js (v6).

Installation & Setup

1. Prerequisites

  • Node.js v20 or higher
  • npm

2. Install Dependencies

Clone the repository and install the packages:

npm install

3. Build the Project

Compile TypeScript to Javascript:

npm run build

4. Test Connection

Ensure that the server can connect to the Polygon contract and query tools locally:

npm run test:local

If you see ALL TESTS PASSED, your environment is configured correctly.


Connecting to AI Clients

1. Claude Desktop

Add HimiTrace MCP to your Claude Desktop configuration file.

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Add the following to the mcpServers object:

{
  "mcpServers": {
    "himitrace-mcp": {
      "command": "node",
      "args": [
        "C:/path/to/your/himitrace-mcp/dist/index.js"
      ]
    }
  }
}

Note: Make sure to replace C:/path/to/your/himitrace-mcp/dist/index.js with the actual absolute path to your compiled entry point.

2. Cursor or Windsurf IDE

In Cursor settings:

  1. Go to Settings > Features > MCP.
  2. Click + Add New MCP Server.
  3. Fill in the fields:
    • Name: HimiTrace
    • Type: command
    • Command: node "C:/path/to/your/himitrace-mcp/dist/index.js"

Available Tools

AI agents can execute the following tools:

1. verify_product

Checks if a product exists on-chain and retrieves its registration parameters.

  • Argument: product_id (string, e.g., LOT-20260315-A1B2C3)
  • Returns: JSON containing verification status, name, origin, owner, registration date, and explorer links.

2. get_trace_history

Retrieves the complete supply chain history (timeline) of a product.

  • Argument: product_id (string)
  • Returns: Chronological array of events, including event types, timestamps, custom payload data (GS1 EPCIS standard), and the recorder's blockchain wallet address.

3. get_certificates

Retrieves certificates attached to a product.

  • Argument: product_id (string)
  • Returns: Lists certificate types, issuers, dates of issue/expiration, and secure IPFS gateway links.

4. get_batch_lineage

Traces the Bill of Materials (BOM) lineage (splits and merges of batches).

  • Argument: batch_id (string)
  • Returns: Parent-child relationships, quantities, and units of raw material inputs.

5. check_product_exists

Quick check for product presence.

  • Argument: product_id (string)
  • Returns: True/False status.

6. get_system_stats

Provides overall system statistics.

  • Returns: Registered products count, contract details, and wallet balance.

Available Resources

AI agents can reference the following static resources:

  • himitrace://info: General system documentation, compliant industries, and standards.
  • himitrace://contract: Blockchain metadata (chain_id, RPC node, contract code version).
  • himitrace://pricing: Pricing tiers for API limits (Free, Pro, Enterprise).

License & Support

Developed and maintained by HimiTek Joint Stock Company.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for HimiTrace MCP server for on-chain product traceability from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/himitrace-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics