Skip to main content
Glama
EnesCinr

market-fiyatlari-mcp-server

by EnesCinr

Market Fiyatı MCP Server

Bu proje, Market Fiyatı API'si ile entegre olan bir MCP (Model Context Protocol) server sunmaktadır. Claude ve diğer MCP destekli AI sistemlerinin Türkiye'deki market fiyatlarını sorgulamasına olanak tanır.

Özellikler

  • Ürün Arama: İsim veya anahtar kelime ile ürün arama

  • Fiyat Karşılaştırma: Farklı marketlerdeki fiyatları karşılaştırma

  • Kaynak Erişimi: URI tabanlı kaynak erişimi (search/ ve product/ endpoint'leri)

  • MCP Araçları: AI'ın doğrudan kullanabileceği veri analiz araçları

Related MCP server: Market Fiyatı MCP Server

Kurulum

# Bağımlılıkları yükle
npm install

# TypeScript dosyalarını derle
npm run build

# Sunucuyu başlat
npm start

Claude Desktop ile Kullanım

Claude Desktop'un claude_desktop_config.json dosyasına aşağıdaki yapılandırmayı ekleyin:

{
  "mcpServers": {
    "marketfiyati": {
      "command": "npx",
      "args": ["-y @enescinar/market-fiyati-mcp"]
    }
  }
}

API Kaynakları

Bu MCP server, Market Fiyatı API'sinin aşağıdaki endpointlerini kullanır:

  • /search: Ürün araması yapar

  • /searchByIdentity: ID ile ürün getirir

MCP Araçları

Sunucu aşağıdaki MCP araçlarını sağlar:

  • search_products: Ürün araması yapar

  • get_product_by_id: ID ile ürün getirir

  • compare_prices: Fiyat karşılaştırması yapar

MCP Kaynakları

Sunucu, üzerinden sorgulanabilecek şu MCP kaynaklarını sağlar:

  • market-fiyati://search/{query}: Ürün araması

  • market-fiyati://product/{id}: Ürün detayları

Lisans

MIT

Available Tools

3 tools
compare_pricesB

Bir ürünün farklı marketlerdeki fiyatlarını karşılaştırır

ParametersJSON Schema
NameRequiredDescriptionDefault
productIdYesÜrün ID'si
marketNoBelirli bir market için filtreleme (opsiyonel)

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, and the description adds minimal behavioral information. It does not disclose whether the operation is read-only, requires authentication, or any other side effects. The agent cannot infer data freshness or scope of markets covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, no superfluous words. Efficiently communicates the core functionality.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema is provided, and the description does not indicate the return format (e.g., list of prices, sorted, latest). For a comparison tool, this missing information limits an agent's ability to use the response effectively. However, the tool is relatively simple.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% but parameter descriptions are minimal. The tool description reinforces the purpose of the market parameter (filtering by market) but does not add new semantic details beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool compares prices of a product across different markets. It uses a specific verb ('compares') and resource ('prices'), distinguishing it from siblings like get_product_by_id (single product retrieval) and search_products (product search).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives. The description implies price comparison but does not mention any prerequisites, exclusions, or context where this tool is preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_product_by_idC

Ürün ID'sine göre ürün detaylarını getirir

ParametersJSON Schema
NameRequiredDescriptionDefault
productIdYesÜrün ID'si

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so the description carries full burden. It only states it retrieves details but does not disclose behavior on missing IDs, return format, or whether it's read-only. Inadequate transparency for a fetch operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is a single, efficient sentence. It is front-loaded but could be slightly more informative without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema or annotations, the description is too minimal. It does not cover error handling, return type, or relationship to sibling tools, leaving gaps for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (parameter already described). The tool description adds no further meaning to the parameter. Baseline 3 is appropriate as it does not reduce clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the verb (retrieves) and resource (product details) by product ID. It distinguishes from sibling tools like search_products and compare_prices by implying a single-product lookup, but could be more specific about what details are returned.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus siblings (search_products, compare_prices). The description does not mention any context for use or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_productsC

Belirtilen arama sorgusuyla ürünleri arar

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesArama sorgusu

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, and the description does not disclose behavioral traits such as read-only nature, pagination, or sorting. The agent must assume it is a read operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence in Turkish, concise and front-loaded. It is not overly verbose, though it could include more useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple input (1 param) and no output schema, the description is minimally adequate but lacks details on return format or any constraints. It leaves gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single parameter. The description adds no extra meaning beyond the schema's 'Arama sorgusu' ('Search query'). Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool searches for products with a query. It is distinct from siblings like compare_prices and get_product_by_id, though it doesn't explicitly differentiate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives (e.g., compare_prices or get_product_by_id). Agents must infer from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv0.1.0
    • First observedcompare_prices
    • First observedget_product_by_id
    • First observedsearch_products

TDQS

A3.5/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a distinct and clear purpose: search_products for searching, get_product_by_id for retrieving details by ID, and compare_prices for price comparison across markets. No overlap or ambiguity.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (compare_prices, get_product_by_id, search_products), making it easy to infer their actions and targets.

Tool Count5/5

With 3 tools, the server is well-scoped for a focused price comparison domain. Each tool is necessary and non-redundant, covering product search, detail retrieval, and price comparison.

Completeness4/5

The server covers the core functionalities for product price comparison. A minor gap is the lack of a tool to list available markets or categories, but the main workflow is complete.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers