MCP server for Tepilora financial API
Project description
Tepilora MCP Server
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tepilora_mcp-0.5.5.tar.gz.
File metadata
- Download URL: tepilora_mcp-0.5.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2217289ef8dc4f26ec121e2235a9f159bd5fcbe529295d55b1c7c944026a7051
|
|
| MD5 |
7a228e87dc9d44a2f9060638790cfa21
|
|
| BLAKE2b-256 |
d3dc666eda2bc17ec353810620d4239876bdc93713c84d00d2df4ec2d8d55379
|
Provenance
The following attestation bundles were made for tepilora_mcp-0.5.5.tar.gz:
Publisher:
publish.yml on Admintepilora/tepilora-mcp-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tepilora_mcp-0.5.5.tar.gz -
Subject digest:
2217289ef8dc4f26ec121e2235a9f159bd5fcbe529295d55b1c7c944026a7051 - Sigstore transparency entry: 1943504873
- Sigstore integration time:
-
Permalink:
Admintepilora/tepilora-mcp-python@a144fbba83842184fd8b3642ec547adc3293e2be -
Branch / Tag:
refs/tags/v0.5.5 - Owner: https://github.com/Admintepilora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a144fbba83842184fd8b3642ec547adc3293e2be -
Trigger Event:
push
-
Statement type:
File details
Details for the file tepilora_mcp-0.5.5-py3-none-any.whl.
File metadata
- Download URL: tepilora_mcp-0.5.5-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
453806a21b482e6b7459faa79dfa831435667d16b03a9737169599911ae092cf
|
|
| MD5 |
f92040118b72fc0f6cf8f0db9aace62e
|
|
| BLAKE2b-256 |
ae954ac6d34ea49aec53a55986d7707b5da3546c45086d2d7f28b319fd39cd10
|
Provenance
The following attestation bundles were made for tepilora_mcp-0.5.5-py3-none-any.whl:
Publisher:
publish.yml on Admintepilora/tepilora-mcp-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tepilora_mcp-0.5.5-py3-none-any.whl -
Subject digest:
453806a21b482e6b7459faa79dfa831435667d16b03a9737169599911ae092cf - Sigstore transparency entry: 1943504946
- Sigstore integration time:
-
Permalink:
Admintepilora/tepilora-mcp-python@a144fbba83842184fd8b3642ec547adc3293e2be -
Branch / Tag:
refs/tags/v0.5.5 - Owner: https://github.com/Admintepilora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a144fbba83842184fd8b3642ec547adc3293e2be -
Trigger Event:
push
-
Statement type: