Access Turkish Food Product Prices
MCP server for marketfiyati.org.tr, exposing grocery product search tools for MCP-compatible clients. Find products by keyword, ID, or similarity.
Maintainer of this project? Claim this page to edit the listing.
1.0.0Add to Favorites
Why it matters
Integrate with the marketfiyati.org.tr API to enable programmatic access to Turkish food product pricing data. Facilitate product searches, price comparisons, and identification of similar items.
Outcomes
What it gets done
Search for food products using keywords and optional location filters.
Retrieve product details via unique identifiers like barcodes.
Find similar products based on a given product ID.
Compare prices across different retailers for food items in Turkey.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-market-fiyati | bash Capabilities
Tools your agent gets
Search for products by keywords with optional location filtering
Get product information by unique identifier (e.g., barcode or internal ID)
Find products similar to a specified product by ID
Overview
market-fiyati MCP server
The description now focuses on the server's function of exposing search tools for 'MCP-compatible clients'.
What it does
This server exposes the search functionality of the marketfiyati.org.tr website as tools for MCP-compatible clients.
To get started, you can clone the repository and install dependencies:
git clone https://github.com/mtcnbzks/market-fiyati-mcp-server.git
cd market-fiyati-mcp-server
Then, run the server with:
uv run python -m market_fiyati_mcp_server.server
Source README
Market Fiyatı MCP Server
An MCP server for marketfiyati.org.tr, a price comparison website for groceries in Turkey.
This server exposes the search functionality of the website as tools for MCP-compatible clients.
Features
- Search Products: Find products using keywords.
- Search by ID: Look up products by their unique ID or barcode.
- Find Similar Products: Discover products similar to a given item.
Prerequisites
- Python 3.12+
- uv (recommended for project and virtual environment management)
Installation
Clone the repository:
git clone https://github.com/mtcnbzks/market-fiyati-mcp-server.git cd market-fiyati-mcp-serverCreate a virtual environment and install dependencies:
uv venv uv sync
Usage
You can run this server and connect to it from any MCP-compatible client.
Running the Server
To start the server, run the following command in your terminal:
uv run python -m market_fiyati_mcp_server.server
The server will start and listen for connections from MCP clients.
Connecting from a Client
You can use the MCP development tools to inspect and interact with the server.
Install in an MCP Client (e.g., Claude Desktop):
To make the server available in a client like the Claude Desktop App, you can install it using:uv run mcp install src/market_fiyati_mcp_server/server.pyManual Configuration (e.g., VS Code):
To add the server to a client that uses amcp.jsonconfiguration file (like VS Code), add the following to theserversobject in yourmcp.json.{ "servers": { "market-fiyati": { "command": "uvx", "args": ["market-fiyati-mcp-server"] } } }
Tools
This server provides the following tools:
search_product
Search for products matching given keywords.
- Parameters:
keywords(str): The search terms.latitude(float, optional): Latitude for location-based search.longitude(float, optional): Longitude for location-based search.distance(int, optional): Radius in km for location-based search.
- Returns: A human-readable summary and the full structured API response.
search_product_by_identity
Retrieve product information by a unique identity (e.g., barcode or internal ID).
- Parameters:
identity(str): The product's unique ID or barcode.identityType(str, optional): The type of identity (idorbarcode). Defaults toid.keywords(str, optional): Optional keywords to refine the search.latitude(float, optional): Latitude for location-based search.longitude(float, optional): Longitude for location-based search.distance(int, optional): Radius in km for location-based search.
- Returns: A summary of the found product and the full structured API response.
search_similar_products
Find products similar to a reference item ID.
- Parameters:
id(str): The ID of the reference product.keywords(str): Keywords to find similar products.latitude(float, optional): Latitude for location-based search.longitude(float, optional): Longitude for location-based search.distance(int, optional): Radius in km for location-based search.
- Returns: A summary of the most similar product and the full structured API response.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.