Skip to main content

MCP server for Tepilora financial API

Project description

Tepilora MCP Server

PyPI Python License: MIT

MCP (Model Context Protocol) server for the Tepilora financial analytics ecosystem.

Give any AI assistant (Claude, Codex, Cursor, Copilot) direct access to 279 financial analytics operations across 28 categories — securities search, portfolio optimization, risk analytics, realtime quotes, bonds, macro indicators, ESG, reporting, and more.

Why Tepilora MCP? One API key, one MCP server, and your AI assistant can search 600K+ securities, build portfolios, run 75+ analytics functions, generate fund sheets, and stream realtime market data — no custom code needed.

Features

  • 22 default tools (discovery + generic + admin + curated), full mode for all operations
  • Async client — non-blocking, optimized for MCP
  • Smart caching — TTL + LRU, skips mutating operations
  • Credit tracking — per-session usage limits
  • Analytics summary-first — large time series truncated to preview + MCP resource for full data
  • Arrow IPC streaming — binary format for large result sets

Install

pip install tepilora-mcp

Quick Start

Claude Desktop

{
  "mcpServers": {
    "tepilora": {
      "command": "tepilora-mcp",
      "env": { "TEPILORA_MCP_API_KEY": "your-api-key" }
    }
  }
}

Claude Code

claude mcp add tepilora tepilora-mcp -e TEPILORA_MCP_API_KEY=your-api-key

Run Directly

export TEPILORA_MCP_API_KEY=your-api-key
tepilora-mcp

Available Tools

Discovery & Generic

Tool Description
list_namespaces List all API namespaces with operation counts
list_operations List operations for a namespace
describe_operation Get parameter details for any operation
call_operation Execute any operation by action string
call_operation_arrow_stream Execute any operation in Arrow IPC format

Curated

Tool Description
search_securities Search stocks, ETFs, bonds, funds
get_security_details Get security information
get_price_history Historical price data
create_portfolio Create a portfolio
save_query Save a reusable query
get_portfolio_returns Portfolio return analysis
run_analytics 75+ analytics functions (summary-first with MCP resource for full data)
search_news Search financial news
screen_bonds Screen bonds by criteria
get_yield_curve Yield curve data
get_realtime_quotes Realtime quotes for a market category
get_realtime_quote Single realtime quote by symbol
get_realtime_chart Intraday chart data (1D, 5D, 1M, 1Y)
get_realtime_calendar Economic calendar with actual vs forecast
get_realtime_health Data source health status

Utility

Tool Description
clear_cache Clear the in-memory result cache
get_credit_usage View session credit usage and limits
reset_credits Reset the session credit counter

Full Mode

Set TEPILORA_MCP_FULL_TOOLS=true to expose all operations as individual tools.

Configuration

Variable Required Default Description
TEPILORA_MCP_API_KEY Yes - Your Tepilora API key for MCP (TEPILORA_API_KEY is a deprecated alias until 0.6.0)
TEPILORA_BASE_URL No https://tepiloradata.com API base URL
TEPILORA_FALLBACK_URL No - Fallback URL
TEPILORA_MCP_FULL_TOOLS No false Register all operations as tools
TEPILORA_MCP_TIMEOUT No 30 Request timeout (seconds)
TEPILORA_MCP_CACHE_TTL No 300 Cache TTL in seconds (0 disables)
TEPILORA_MCP_CACHE_MAX_SIZE No 1000 Max cached entries (LRU)
TEPILORA_MCP_CREDIT_LIMIT No 0 Session credit cap (0 = unlimited)

Requirements

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tepilora_mcp-0.5.4.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tepilora_mcp-0.5.4-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file tepilora_mcp-0.5.4.tar.gz.

File metadata

  • Download URL: tepilora_mcp-0.5.4.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tepilora_mcp-0.5.4.tar.gz
Algorithm Hash digest
SHA256 b056d926a7e5b0d383fcb8e2bdda0e092f603664b9ba179cab4ec5a707068fa6
MD5 a99367b1415d4f1c0d7dd71fa1676183
BLAKE2b-256 e0117f462d679923060b913b6c7b5a13171aa23304801efd83e235b168301ad7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tepilora_mcp-0.5.4.tar.gz:

Publisher: publish.yml on Admintepilora/tepilora-mcp-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tepilora_mcp-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: tepilora_mcp-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tepilora_mcp-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d1ca8ba60705c7249bc7a49707e2aa2e60a5f3864257233560804ac79526958a
MD5 70119e6fad54032e8da8b6229e2e2666
BLAKE2b-256 dac3d7d9d603c92d554bac90f0fc6f4d373fc86632b17043bca67417408599e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tepilora_mcp-0.5.4-py3-none-any.whl:

Publisher: publish.yml on Admintepilora/tepilora-mcp-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page