Skip to main content

jsonport-mcp

MCP (Model Context Protocol) server for the jsonport.com API.

Extracts structured product data from e-commerce URLs as MCP tools usable by any MCP-compatible client (Claude Desktop, Hermes Agent, etc.).

Tools

Tool Description
extract_product Extract structured product data from an e-commerce URL (Amazon, eBay)

Install

pip install jsonport-mcp

Or from source:

git clone https://github.com/yourorg/jsonport-mcp.git
cd jsonport-mcp
pip install .

Usage

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "jsonport": {
      "command": "jsonport-mcp",
      "args": []
    }
  }
}

With Hermes Agent

Add to ~/.hermes/config.yaml:

mcp_servers:
  jsonport:
    command: "jsonport-mcp"

Run directly

# Start the MCP server on stdio
jsonport-mcp

# Or with a custom API endpoint
JSONPORT_API_URL=http://localhost:8181 jsonport-mcp

Test the server

# Send an initialize request via stdin
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0.1"}}}' | jsonport-mcp

Environment Variables

Variable Default Description
JSONPORT_API_URL http://89.58.13.15:8181 Base URL for the jsonport API
JSONPORT_TIMEOUT 60 HTTP request timeout in seconds

Tool Details

extract_product

Extracts structured product data from an e-commerce URL.

  • url (required): Product page URL (http:// or https://)
  • geo (optional): Pricing region — us, eu, or auto (default: us)
  • force (optional): Bypass cache (default: false)

Returns: JSON with title, price, currency, in_stock, rating, reviews_count, seller, brand, images, description, features, and more.

License

MIT

Release files for jsonport-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsonport-mcp 0.1.1
File Size Uploaded
jsonport_mcp-0.1.1.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jsonport-mcp 0.1.1
File Interpreter ABI Platform
jsonport_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / jsonport_mcp-0.1.1.tar.gz

Download URL jsonport_mcp-0.1.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2b25aa47e95510a05d931fda651d06babe7775cc88f8c881582de22e725da55b
BLAKE2b-256 checksum
How to use checksums
017f8f9792d6d42f16652f47b84970550dda8b8d1d22a7692f29f470898900db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release files / jsonport_mcp-0.1.1-py3-none-any.whl

Download URL jsonport_mcp-0.1.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d878b2c55215b1339993965c4e9ac0ac6613879b095be68a55621c6cb4dc000
BLAKE2b-256 checksum
How to use checksums
3047ef47ee58406b301d372c631831fb9190ee49b8694491f46331043fb3b130
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page