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.2.tar.gz (290.5 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.2-py3-none-any.whl (64.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cite_finance_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 290.5 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.2.tar.gz
Algorithm Hash digest
SHA256 f7edeedf311d73644bf918115dd34140fb82a67f47cb0d6675ab914f8c31cf66
MD5 431cd18dade15ba65aa3e75c868c3ae5
BLAKE2b-256 ba43cc25cb742a41e4cc624191603907166c4053cd715c97d383d6762177b76d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cite_finance_mcp-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd18428dfaca0c1013091676f7aa942fd67636e81b483e9853324793f9f6994f
MD5 d5be39e0a969d3f0abcb3f0dae05db98
BLAKE2b-256 2b46079bff7e1f3263373a8e9e8c05e09ee0732e8be7d4c94cd6930d3c2725c9

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