原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

OTC Pricing MCP

作者:seaser0版本 0.1.1i★ –i在你的电脑上运行
注册名称io.github.seaser0/otc-pricing-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for the Open Telekom Cloud Price Calculator API (eu-de, eu-nl, eu-ch2).

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "otc-pricing": {
      "command": "uvx",
      "args": [
        "otc-pricing-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add otc-pricing -- uvx otc-pricing-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "otc-pricing": {
      "command": "uvx",
      "args": [
        "otc-pricing-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "otc-pricing": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "otc-pricing-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 seaser0 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18475 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18475 个服务器的 7% 更新
  • 基础检查结果等于或优于此分类中其他 18475 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

OTC Pricing MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.1)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Tethered Trust

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

Tethered Trust

Fit, compatibility and recall checks for AI agents before they buy: verdicts, evidence, receipts.

作者:tetheredtrust.com非常新今天更新

在云端运行✓ tetheredtrust.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

OTC Pricing MCP Server

An open-source Model Context Protocol (MCP) server for the Open Telekom Cloud (OTC) Price Calculator API.

Expose OTC pricing data to Claude and other LLM clients with full observability (structured logging, Prometheus metrics, health checks).

Status: v0.1.3 — STDIO + SSE transports, Kubernetes deployment, full observability


What is MCP?

Model Context Protocol is a standard that enables LLM applications (like Claude) to interact with external tools and data sources. This server supports two transports:

TransportHow it worksBest for
STDIOClaude launches the server as a subprocess; communication is over stdin/stdoutLocal Claude Desktop, CLI tools
SSEServer-Sent Events over HTTP — Claude connects to a URLRemote/hosted deployments, web clients

This server gives Claude access to OTC pricing data and the user-manual / API-reference documentation through 9 specialized tools, on whichever transport you prefer.


What Can You Do With This?

Example Use Cases:

  • Ask Claude: _"Find the cheapest ECS instance with 4 CPUs and 8GB RAM in eu-de"_
  • Claude calls find_compute_flavor tool → gets pricing data → answers you
  • Ask: _"Compare PAYG vs 12-month reserved pricing for S3 storage"_
  • Claude calls compare_billing_models tool → does the analysis → shows savings

Quick Start

1. Install

Requirements: Python 3.12+

# Clone the repository

git clone https://github.com/seaser0/otc-pricing-mcp.git cd otc-pricing-mcp

Install dependencies

uv sync

Run the server

python -m otc_pricing_mcp

What You'll See:

{"event": "mcp_server_starting", "transports": ["stdio", "sse"], "port": 8080, ...}

{"event": "mcp_server_ready", "status": "accepting_connections", ...}

The server now listens for MCP connections on both stdin/stdout and http://localhost:8080/sse.

2. Connect Your MCP Client

Option A — STDIO (local, Claude Desktop)

{

"mcpServers": { "otc-pricing": { "command": "python", "args": ["-m", "otc_pricing_mcp"], "env": { "LOG_LEVEL": "INFO", "METRICS_PORT": "8080" } } } }

Option B — SSE (remote, Kubernetes)

Point any MCP client that supports SSE transport at the hosted endpoint:

{

"mcpServers": { "otc-pricing": { "url": "https://mcp-otc-pricing.example.com/sse" } } }

Or test locally while running the server:

# In a second terminal:

curl -N http://localhost:8080/sse

event: endpoint

data: /messages/?session_id=

3. Start Using Tools

Once connected, Claude can call any of the 7 available tools. See the Tools Reference section below.


Tools Reference

The server exposes 7 MCP tools for different pricing queries:

1. list_services

Purpose: Get all available OTC services

Input: None

Output: List of service names and metadata

Example Claude usage:

"What OTC services are available for pricing?"

2. list_regions

Purpose: Get available OTC regions

Input: None

Output: List of region codes (eu-de, eu-nl, eu-ch2, etc.)

Example Claude usage:

"What regions does OTC support?"

3. get_service_schema

Purpose: Get filterable/returnable columns for a service

Input:

  • service (string): Service name (e.g., "ecs", "evs", "obs", "s3", "rds")

Output: Schema with filterable and returnable column names

Example Claude usage:

"What columns can I filter on for ECS pricing?"

4. query_pricing

Purpose: Query pricing data with flexible filtering

Input:

  • services (array): List of service names (e.g., ["ecs", "evs"])
  • region (string, optional): Filter by region (e.g., "eu-de")
  • max_results (integer, optional): Max results to return (default: 5000)

Output: Pricing rows matching the filter

Example Claude usage:

"Show me ECS and EVS pricing in the eu-de region"

5. find_compute_flavor

Purpose: Find compute (ECS) instances by vCPU/RAM/OS

Input:

  • v_cpu (integer): Number of virtual CPUs
  • ram_gb (number): RAM in GiB
  • os (string, optional): Operating system (Linux, Windows, etc.)
  • region (string, optional): Region (default: eu-de)

Output: Matching ECS instance types with pricing

Example Claude usage:

"Find a Linux ECS instance with 4 CPUs and 16GB RAM in eu-nl"

6. estimate_monthly_cost

Purpose: Calculate monthly cost for multiple resources

Input:

  • items (array): Resources with:
  • id (string): Product ID (e.g., "OTC_S3M1_LI")
  • quantity (number, optional): How many units (default: 1)
  • hours_per_month (number, optional): Usage hours (default: 730)

Output: Itemized costs with monthly total

Example Claude usage:

"Calculate monthly cost for 100GB S3 storage and an ECS instance"

7. compare_billing_models

Purpose: Compare PAYG vs Reserved Instance pricing

Input:

  • product_id (string): Product ID (e.g., "OTC_S3M1_LI")
  • quantity (number, optional): Quantity (default: 1)
  • hours_per_month (number, optional): Usage hours (default: 730)

Output: Cost comparison for PAYG, 12mo, 24mo, 36mo reserved

Example Claude usage:

"Compare PAYG vs 12/24/36 month reserved pricing for ECS"
8. search_otc_docs

Purpose: Full-text search across the indexed OTC user manual and API reference

Input:

  • query (string): Search terms (BM25-ranked, AND of tokens)
  • scope (string, optional): public | swiss | both (default: both)
  • service (string, optional): Restrict to one service repo (e.g. elastic-cloud-server)
  • top_k (integer, optional): 1-50, default 5

Output: Ranked list of {url, title, h2, h3, snippet, service, cloud, upstream_commit} hits. The index ships with the package and is rebuilt weekly from the upstream opentelekomcloud-docs/ Sphinx/RST repos (Apache-2.0); the runtime never touches the Anubis-gated docs.otc.t-systems.com HTML.

Example Claude usage:

"Find the OTC docs page that explains S3-flavor ECS specifications"
9. get_otc_doc_section

Purpose: Fetch the body of one indexed documentation page (or one of its sections) as Markdown

Input:

  • url (string): Canonical URL as returned by search_otc_docs (with or without #anchor)
  • section (string, optional): H2/H3 heading filter (case-insensitive substring)

Output: {url, title, sections: [{h2, h3, anchor, body}, ...], matched, ...}

Example Claude usage:

"Show me the EVS Disk Types and Performance section"

Configuration

Environment Variables

Control the server behavior with environment variables:

VariableDefaultDescription
LOG_LEVELINFOLogging level: DEBUG, INFO, WARNING, ERROR
METRICS_PORT8080Port for metrics/health endpoints
METRICS_HOST0.0.0.0Bind address for the HTTP server (set to 127.0.0.1 for non-container runs)
OTC_PRICING_API_BASEhttps://calculator.otc-service.com/en/open-telekom-price-api/OTC API endpoint
OTC_DOCS_DB(auto)Override path to the docs FTS5 index (default: bundled data/otc_docs.sqlite3)

Example:

LOG_LEVEL=DEBUG METRICS_PORT=9090 python -m otc_pricing_mcp

Observability: Metrics & Logs

This server is built with production-grade observability so you can debug issues and monitor performance.

Structured Logging (JSON)

Every action is logged as JSON, making logs machine-readable for aggregation and analysis.

Start the server with DEBUG logging:

LOG_LEVEL=DEBUG python -m otc_pricing_mcp 2>&1

You'll see JSON logs like:

{"timestamp": "2026-05-06T18:00:00.123456Z", "event": "tool_invocation_start", "tool": "query_pricing", "request_id": "550e8400-e29b-41d4-a716-446655440000", "arguments": {"services": ["ecs"]}}

{"timestamp": "2026-05-06T18:00:00.234567Z", "event": "upstream_request_start", "service": "ecs", "request_id": "550e8400-e29b-41d4-a716-446655440000"}

{"timestamp": "2026-05-06T18:00:00.345678Z", "event": "upstream_request_success", "service": "ecs", "request_id": "550e8400-e29b-41d4-a716-446655440000", "status_code": 200, "duration_seconds": 0.111, "attempt": 1, "items_returned": 42}

{"timestamp": "2026-05-06T18:00:00.456789Z", "event": "tool_invocation_success", "tool": "query_pricing", "request_id": "550e8400-e29b-41d4-a716-446655440000", "duration_seconds": 0.333}

Key fields in every log:

  • timestamp: When the event happened (ISO 8601)
  • event: What happened (tool_invocation_start, upstream_request_success, etc.)
  • request_id: Unique ID for this request (same across all related logs)
  • Custom fields depending on the event

Logs are printed to stderr, so redirect to a file or log aggregator:

python -m otc_pricing_mcp 2>/var/log/otc-pricing-mcp.log

Pipe to `jq` for pretty printing:

python -m otc_pricing_mcp 2>&1 | jq .
HTTP Endpoints (port 8080)

The uvicorn server exposes all endpoints on port 8080:

PathMethodDescription
/sseGETMCP SSE transport — connect your MCP client here
/messages/POSTMCP SSE message handler (used internally by the client)
/healthzGETLiveness probe — always 200 if the process is up
/readyzGETReadiness probe — 200 when OTC API is reachable, 503 otherwise
/metricsGETPrometheus metrics in text exposition format

Health Checks:

# Liveness check (always 200 if process is up)

curl http://localhost:8080/healthz

{"status": "ok", "service": "otc-pricing-mcp"}

Readiness check (verifies OTC API is reachable)

curl http://localhost:8080/readyz

{"status": "ready", "upstream": "ok", "api_response_time": 0.042}

Prometheus Metrics:

curl http://localhost:8080/metrics

Returns Prometheus format metrics:

# HELP otc_pricing_mcp_requests_total Total MCP tool requests (success and failure)

TYPE otc_pricing_mcp_requests_total counter

otc_pricing_mcp_requests_total{status="success",tool="query_pricing"} 5.0 otc_pricing_mcp_requests_total{status="error",tool="query_pricing"} 1.0

HELP otc_pricing_mcp_request_duration_seconds MCP tool request duration in seconds

TYPE otc_pricing_mcp_request_duration_seconds histogram

otc_pricing_mcp_request_duration_seconds_bucket{le="0.005",tool="query_pricing"} 0.0 otc_pricing_mcp_request_duration_seconds_bucket{le="0.01",tool="query_pricing"} 1.0 ...

HELP otc_pricing_mcp_upstream_requests_total Total upstream OTC API requests (success and failure)

TYPE otc_pricing_mcp_upstream_requests_total counter

otc_pricing_mcp_upstream_requests_total{service="ecs",status="success"} 10.0 otc_pricing_mcp_upstream_requests_total{service="ecs",status="error"} 2.0 ...

Available Metrics:

  • otc_pricing_mcp_requests_total{tool, status}: Count of tool invocations
  • otc_pricing_mcp_request_duration_seconds{tool}: Tool execution time
  • otc_pricing_mcp_upstream_requests_total{service, status}: Count of API calls
  • otc_pricing_mcp_upstream_duration_seconds{service}: API call latency

Using Prometheus:

Add to your prometheus.yml:

scrape_configs:
  • job_name: 'otc-pricing-mcp' static_configs:
  • targets: ['l

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx