Skip to main content

Financial Data MCP Server with Citations & Provenance

Project description

Cite-Finance API

Production-grade financial data API with AI-powered synthesis

Overview

Cite-Finance provides SEC EDGAR data, market data, and financial calculations through a clean REST API with built-in AI synthesis capabilities.

What Makes Cite-Finance Different

✅ Zero Hallucination

Pure structured JSON responses - no LLM inference, no made-up numbers.

⚡ Lightning Fast

Sub-300ms p95 latency with 99.9% SLA (Pro tier).

📊 Consistency Scores

Cross-source validation gives you a 0-1 confidence metric on every response.

🔗 SEC Citations

Every data point includes direct links to source filings - perfect for compliance.

🤖 LLM-Ready Format

format=llm option returns prompt-ready text snippets with metadata.

🛡️ Production Grade

Sentry monitoring, Stripe billing, Redis caching, full observability.

Architecture

cite-finance-api/
├── src/
│   ├── api/          # API routes (FastAPI)
│   ├── core/         # Business logic (calculations, metrics)
│   ├── data_sources/ # Plugin-based data source adapters
│   ├── auth/         # API key management
│   ├── billing/      # Stripe integration, usage tracking
│   ├── middleware/   # Rate limiting, auth
│   ├── models/       # Pydantic models
│   └── utils/        # Shared utilities
├── tests/            # Test suite
├── docs/             # API documentation
└── config/           # Configuration files

Quick Start

Installation

pip install -r requirements.txt

Configuration

cp .env.example .env
# Edit .env with your API keys

Run

uvicorn src.main:app --reload

API Documentation

Once running, visit: http://localhost:8000/docs

Pricing

Tier Price Calls/Month Key Features
Free $0 50 Basic metrics, testing
Starter $49 2,000 LLM answers, citations, consistency
Professional $199 10,000 All features, 99.9% SLA
Enterprise $999 Unlimited Custom metrics, dedicated support

Quick Start

1. Get Your API Key

curl -X POST https://api.cite-finance.io/api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@company.com"}'

2. Make Your First Request

curl -H "X-API-Key: your_key" \
  "https://api.cite-finance.io/api/v1/answers?ticker=AAPL&metric=revenue_ttm&format=json"

3. Get Structured, Cited Data

{
  "ticker": "AAPL",
  "metric": "revenue_ttm",
  "value": 383285000000,
  "unit": "USD",
  "period": "TTM",
  "as_of": "2024-09-30",
  "sources": [
    {
      "type": "sec_filing",
      "filing": "10-K",
      "url": "https://www.sec.gov/...",
      "excerpt": "Total net sales: $383,285 million"
    }
  ],
  "consistency_score": 0.96,
  "retrieved_at": "2025-11-24T12:00:00Z"
}

Key Benefits:

  • ✅ Structured JSON (no hallucination)
  • ✅ SEC citations with URLs
  • ✅ 96% consistency score
  • ✅ Sub-300ms response time

Use Cases

  • AI Chatbots: Financial Q&A with verified sources
  • Trading Bots: High-confidence data for algorithmic trading
  • Dashboards: Real-time financial metrics with citations
  • Research Tools: Compliance-ready data with SEC links

Documentation

Built For

LLM-first financial applications that need:

  • Structured data (no hallucination)
  • Verified sources (SEC citations)
  • High confidence (consistency scores)
  • Production speed (<300ms)

Ready to launch? See DEPLOYMENT_CHECKLIST.md

License

Proprietary - All Rights Reserved

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

cite_finance_mcp-0.1.4.tar.gz (292.0 kB view details)

Uploaded Source

Built Distribution

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

cite_finance_mcp-0.1.4-py3-none-any.whl (64.4 kB view details)

Uploaded Python 3

File details

Details for the file cite_finance_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: cite_finance_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 292.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.13.5 HTTPX/0.27.2

File hashes

Hashes for cite_finance_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 997b91be77e5822ad82bafcaa65d9a6afdd48b9dfafcc08f5af8a8df173a05b3
MD5 8110b2ebcd2fb64bf8af9cfaf1978fce
BLAKE2b-256 0d1f68dcdd669da84e557cac3895317e8a36d579895031a91ff5f28693a230b6

See more details on using hashes here.

File details

Details for the file cite_finance_mcp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: cite_finance_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 64.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.3 cpython/3.13.5 HTTPX/0.27.2

File hashes

Hashes for cite_finance_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5c81266941bd4d3e88c72642fcf1f608c0abf6a0f451e4816957f9d6df0e5c33
MD5 a578dd0b67824e9a0335ac4cd00f45eb
BLAKE2b-256 597072aa3a95d63bdcc584dcde65593f3f22d103da4d6f858856e4b2166de393

See more details on using hashes here.

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