Marketfiyati MCP Server
A Model Context Protocol (MCP) server for accessing Turkish market product prices from marketfiyati.org.tr. This server provides a standardized API for searching products across different Turkish supermarket chains (BIM, A101, Migros, SOK, etc.) and comparing prices.
Disclaimer
This is an educational project created for learning purposes. It is not intended for commercial use. All data is sourced from marketfiyati.org.tr. Please respect their terms of service and use this project responsibly.
Features
π Search products by keywords and categories
π Location-based search with nearby stores
πͺ Multi-market price comparison
π° Price tracking and unit price calculations
π Fast response with intelligent caching
π MCP-compatible for easy integration with AI tools
Installation
Using Docker (Recommended)
The server will be available at http://localhost:8000
Manual Installation
API Endpoints
The server provides the following endpoints:
POST /search_by_categories - Search products with detailed filters (keywords, location, depot IDs)
GET /search_by_categories - Simple product search via query parameters
GET /health - Health check endpoint (includes version info)
GET /version - Get API version
GET /docs - Interactive API documentation (Swagger UI)
GET /mcp - MCP protocol endpoint for AI tool integration
For detailed API documentation, visit http://localhost:8000/docs after starting the server.
SOCKS Proxy Configuration
The server supports SOCKS proxy for all external API calls to marketfiyati.org.tr. This is useful when you need to route requests through a proxy server.
Supported Proxy Types
SOCKS5 (recommended):
socks5://host:portSOCKS5 with authentication:
socks5://username:password@host:portSOCKS4:
socks4://host:port
Configuration Methods
Environment Variable
Set the SOCKS_PROXY environment variable before starting the server:
Docker
Pass the proxy configuration as an environment variable:
Example Proxy Configurations
Creating a SOCKS Proxy with SSH
You can create a local SOCKS5 proxy using SSH:
Using with Claude Desktop
Add the following configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
After adding the configuration, restart Claude Desktop. The MCP server will be available for product price searches.
License
This project is licensed under the MIT License.
Acknowledgments
Data provided by marketfiyati.org.tr
Support
For issues and questions, please open an issue on GitHub.