Market Price Finder MCP Server written in TypeScript (Cloudflare Workers Deployment)
This project is a Model Context Protocol (MCP) server built on Cloudflare Workers that helps find and compare market prices for products. It provides tools for querying and analyzing product prices across different marketplaces.
An MCP server is a specialized server that implements the Model Context Protocol, allowing AI models to interact with external tools and services. In this case, our server provides tools for market price analysis.
Features
Query product prices from various marketplaces
Compare prices across different vendors
Real-time price updates
No authentication required for basic usage
Deployable on Cloudflare Workers platform
Getting Started
Option 1: Quick Deploy
Click the button below to deploy directly to Cloudflare Workers:
After deployment, your server will be available at: remote-mcp-server-authless.<your-account>.workers.dev/sse
Option 2: Local Development
To set up the project locally, follow these steps:
Create a new project using the template:
Install dependencies:
Start the development server:
Customizing the Server
Adding New Tools
You can extend the server's functionality by adding your own tools:
Open
src/index.tsLocate the
init()methodAdd new tools using
this.server.tool(...)
For more information about creating tools, check the MCP tools documentation.
Using the Server
Method 1: Cloudflare AI Playground
The easiest way to interact with your MCP server is through the Cloudflare AI Playground:
Visit Cloudflare AI Playground
In the connection settings, enter your server URL:
For deployed server:
remote-mcp-server-authless.<your-account>.workers.dev/sseFor local development:
http://localhost:8787/sse
Start using the market price finder tools through the playground interface
Method 2: Claude Desktop Integration
You can also use the server with Claude Desktop:
Install the MCP remote proxy:
Configure Claude Desktop:
Open Claude Desktop
Go to Settings > Developer > Edit Config
Update the configuration:
Restart Claude Desktop to apply changes
API Documentation
Our MCP server provides the following tools:
searchProduct: Search for product pricescomparePrice: Compare prices across marketplacesgetPriceHistory: Get historical price data (if available)
For detailed API documentation and examples, check the source code comments in src/index.ts.