Skip to main content

ta-lib-mcp

Read-only Python MCP server for TA-Lib indicator discovery and computation.

What It Exposes

  • talib_list_indicators: list available indicators with group, category, and search filters.
  • talib_get_indicator_info: inspect one indicator's inputs, outputs, parameters, and category.
  • talib_compute_indicator: compute an indicator from numeric OHLCV-like arrays.
  • talib_list_categories: list indicator categories (Trend, Momentum, Volume, etc.) with descriptions.
  • talib_get_version_info: report MCP, Python, and TA-Lib versions.

Requirements

  • Python 3.13+
  • mcp[cli]
  • Optional: TA-Lib (pip install "ta-lib-mcp-server[talib]")

If TA-Lib is missing, the server still starts and returns actionable errors for TA-Lib tools.

Install

pip install -e ".[dev,talib]"

Run

ta-lib-mcp

MCP Client Configuration

Claude Desktop

{
  "mcpServers": {
    "ta-lib": {
      "command": "ta-lib-mcp",
      "env": {
        "TALIB_MCP_LOG_LEVEL": "INFO"
      }
    }
  }
}

Codex

[mcp_servers.talib]
command = "ta-lib-mcp"
args = []

[mcp_servers.talib.env]
TALIB_MCP_LOG_LEVEL = "INFO"

Gemini CLI

{
  "mcpServers": {
    "ta-lib": {
      "command": "ta-lib-mcp",
      "env": {
        "TALIB_MCP_LOG_LEVEL": "INFO"
      }
    }
  }
}

Development

pip install -e ".[dev,talib]"
pytest
ruff check src tests
ruff format src tests
mypy src

Engineering Rules

  • Read-only server behavior only; no stateful or exchange-connected operations.
  • External MCP tool inputs are validated in src/ta_lib_mcp/validators.py.
  • Do not use eval or exec.

Metadata

Release files for ta-lib-mcp-server 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ta-lib-mcp-server 0.1.1
File Size Uploaded
ta_lib_mcp_server-0.1.1.tar.gz 12.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ta-lib-mcp-server 0.1.1
File Interpreter ABI Platform
ta_lib_mcp_server-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.4 kB

Release files / ta_lib_mcp_server-0.1.1.tar.gz

Download URL ta_lib_mcp_server-0.1.1.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6a4c280c9abe0e9003fb1ceb40a99f57ff3deac1369e293b5e6e90af827e1e0e
BLAKE2b-256 checksum
How to use checksums
971c06c652891e0e252c0ef9917da56a531f794981b8661d1f8c5a3432151c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / ta_lib_mcp_server-0.1.1-py3-none-any.whl

Download URL ta_lib_mcp_server-0.1.1-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08111408805be94f1510671a5dcb6b0a687304baf487b1c63eaad3e66f2a6af7
BLAKE2b-256 checksum
How to use checksums
8c55168e9fcb5991649beb9991d6daa744ae33ada80889d98dc9c9ce90188b79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page