AION News-to-Signal client library and MCP server for Indian financial news analysis. API key required for inference.
Project description
AION News-to-Signal — Client Library
This package provides:
- A Python client for the AION India Event Intelligence API
- An MCP server entrypoint for ChatGPT, Claude, Cursor, and other MCP-compatible tools
- Local data validation and output formatting utilities
This package does NOT contain model weights. Inference requires an API key from https://dashboard.aiondashboard.site/access/register.
Quick Start
from aion import analyze
# Requires AION_API_KEY environment variable or explicit key
result = analyze("RBI hikes repo rate by 25 bps", api_key="YOUR_KEY")
print(result["sector_vector"])
MCP Server
python -m aion_news_to_signal.mcp_server
The MCP server requires an API key for inference. Set AION_API_KEY in your environment.
API Contract
Production inference flows through the hosted AION API:
POST https://api.aiondashboard.site/v1/analyze- header:
X-API-Key: <key>
import requests
headers = {"X-API-Key": "YOUR_API_KEY"}
resp = requests.post(
"https://api.aiondashboard.site/v1/analyze",
headers=headers,
json={"headline": "RBI hikes repo rate by 25 bps"},
timeout=30,
)
resp.raise_for_status()
print(resp.json()["sector_vector"])
Output Contract
{
"headline": "string",
"event": "string|null",
"confidence": "float",
"vix_regime": "string",
"sector_vector": {},
"top_positive_sectors": {},
"top_negative_sectors": {},
"sector_directional_bias": {
"positive_bias": [],
"negative_bias": []
},
"stakeholder_views": {},
"raw_assignment": {
"resolved_event_id": "string|null",
"cause_effect_rule_id": "string|null",
"weather_triggered": "bool"
}
}
Important Note
⚠️ This package is a client library, not a self-contained inference engine. It requires a valid API key and internet connectivity to call the AION hosted API. For local/offline inference, contact AION Analytics about enterprise deployment options.
Links
- API key registration:
https://dashboard.aiondashboard.site/access/register
- Documentation:
https://dashboard.aiondashboard.site/models/news-to-signal
- Hugging Face demo:
https://huggingface.co/spaces/AION-Analytics/aion-news-to-signal
- GitHub:
https://github.com/AION-Analytics/aion-news-to-signal
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
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 aion_news_to_signal-1.0.2.tar.gz.
File metadata
- Download URL: aion_news_to_signal-1.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87e8db84edefd16fc98ffa89b1b89f2285d00851e16f0755b0ed2055cee704aa
|
|
| MD5 |
c8458c62b3a9d8548ee4599a62b477e5
|
|
| BLAKE2b-256 |
9131c0fe165afb8e11e39fc0c7df3a83e1801409effccd19b00466d0d11ce639
|
File details
Details for the file aion_news_to_signal-1.0.2-py3-none-any.whl.
File metadata
- Download URL: aion_news_to_signal-1.0.2-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0869a75c990d37ed5b2e83b1a524b9e8732f72556703ffd693b4f917f153b349
|
|
| MD5 |
403bc5155f49e5e258d254fb3df8f6b5
|
|
| BLAKE2b-256 |
e439f81da0097d92418a39b141e1f2b117808f04599ef4e1b7789a51a6780be5
|