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-server
-
Create 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.py
-
Manual Configuration (e.g., VS Code): To add the server to a client that uses a
mcp.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.
Metadata
Release files for market-fiyati-mcp-server 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| market_fiyati_mcp_server-0.2.5.tar.gz | 6.9 kB | Without provenance | Details for market_fiyati_mcp_server-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| market_fiyati_mcp_server-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for market_fiyati_mcp_server-0.2.5-py3-none-any.whl |
Total release size: 14.1 kB
Release files / market_fiyati_mcp_server-0.2.5.tar.gz
| Download URL | market_fiyati_mcp_server-0.2.5.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dcc7c9680fb0387d25aeacf158867d28f6bc9b39a0fd5d1037db6ee42950e0a
|
|
BLAKE2b-256 checksum How to use checksums |
086df162db2be61f3d6b2ff2f9566aee699f44a3d1a606f8ae5f70c1cc048c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Release files / market_fiyati_mcp_server-0.2.5-py3-none-any.whl
| Download URL | market_fiyati_mcp_server-0.2.5-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14cbacd9732d66c2aea62fb49d77d17026cd66009bd4edae24e55df4a581635e
|
|
BLAKE2b-256 checksum How to use checksums |
9f85d0dcc405148a8b7fbd801248e700110f721ba224c6f4144faa1ac1d9ec06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Security for market-fiyati-mcp-server 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.