Artha Council MCP Server
Auditable equity research and fail-closed broker execution for US and Indian cash equities.
Artha Council scores 65 (Good), licensed Apache-2.0 and written in Python. It installs as a local process. It does not declare tools yet. Filed under Databases, AI and memory, Finance. GitHub shows 2 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 65 comes from
22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "akira231097-artha-council": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/akira231097/artha-council-mcp:1.4.0" ], "env": { "ARTHA_MCP_MARKET": "", "ARTHA_MCP_BROKER": "", "ARTHA_MCP_RESEARCH_MODE": "", "ARTHA_MCP_DATA_DIR": "", "ARTHA_MCP_ACCESS_MODE": "", "ARTHA_MCP_OPERATIONS_ENABLED": "", "ARTHA_MCP_TRADING_ENABLED": "", "ARTHA_MCP_KILL_SWITCH": "", "ARTHA_MCP_MAX_ORDER_VALUE": "", "ARTHA_MCP_MAX_DAILY_ORDER_VALUE": "", "ARTHA_MCP_MAX_DAILY_ORDERS": "", "ARTHA_MCP_MAX_PENDING_JOBS": "", "FMP_API_KEY": "YOUR_FMP_API_KEY", "FINNHUB_API_KEY": "YOUR_FINNHUB_API_KEY", "GOOGLE_API_KEY": "YOUR_GOOGLE_API_KEY", "TELEGRAM_BOT_TOKEN": "YOUR_TELEGRAM_BOT_TOKEN", "TELEGRAM_CHAT_ID": "YOUR_TELEGRAM_CHAT_ID", "UPSTOX_ACCESS_TOKEN": "YOUR_UPSTOX_ACCESS_TOKEN", "UPSTOX_SANDBOX_ACCESS_TOKEN": "YOUR_UPSTOX_SANDBOX_ACCESS_TOKEN", "ARTHA_INDIA_STATIC_IP_REGISTERED": "", "ARTHA_INDIA_DEMAT_SELL_AUTHORIZED": "", "ARTHA_UPSTOX_ALGO_NAME": "", "KITE_API_KEY": "YOUR_KITE_API_KEY", "KITE_ACCESS_TOKEN": "YOUR_KITE_ACCESS_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ARTHA_MCP_MARKET | Optional | Market profile: US or IN. |
ARTHA_MCP_BROKER | Optional | Broker adapter: snapshot, upstox, zerodha, none, or plugin. |
ARTHA_MCP_RESEARCH_MODE | Optional | Research boundary: embedded, host_orchestrated, or plugin. India should use host_orchestrated or a market-native plugin. |
ARTHA_MCP_DATA_DIR | Optional | Persistent directory for journals, receipts, jobs, portfolio state, and audit artifacts. |
ARTHA_MCP_ACCESS_MODE | Optional | Capability mode: read_only, operator, or trading. Defaults to read_only. |
ARTHA_MCP_OPERATIONS_ENABLED | Optional | Explicit operations switch. Defaults to false. |
ARTHA_MCP_TRADING_ENABLED | Optional | Explicit live-trading switch. Defaults to false. |
ARTHA_MCP_KILL_SWITCH | Optional | Final MCP placement kill switch. Defaults to true. |
ARTHA_MCP_MAX_ORDER_VALUE | Optional | Maximum value of one order in the selected market currency. Defaults to 25 USD or 2500 INR. |
ARTHA_MCP_MAX_DAILY_ORDER_VALUE | Optional | Maximum total daily order value in the selected market currency. Defaults to 50 USD or 5000 INR. |
ARTHA_MCP_MAX_DAILY_ORDERS | Optional | Maximum number of broker placements per market day. Defaults to 2. |
ARTHA_MCP_MAX_PENDING_JOBS | Optional | Maximum queued or running allowlisted workflows. Defaults to 8 and prevents an unbounded work queue. |
FMP_API_KEYSecret | Optional | Optional Financial Modeling Prep key for embedded US research. |
FINNHUB_API_KEYSecret | Optional | Optional Finnhub key for embedded US research enrichment. |
GOOGLE_API_KEYSecret | Optional | Optional Google Gemini key for embedded Council roles and web-grounded research. |
TELEGRAM_BOT_TOKENSecret | Optional | Optional Telegram bot token for Artha notifications. |
TELEGRAM_CHAT_IDSecret | Optional | Optional Telegram destination used with TELEGRAM_BOT_TOKEN. |
UPSTOX_ACCESS_TOKENSecret | Optional | Upstox live account/read token used for portfolio, quote, margin, and fee proof. |
UPSTOX_SANDBOX_ACCESS_TOKENSecret | Optional | Separate Upstox sandbox token, required only when ARTHA_UPSTOX_SANDBOX=true. |
ARTHA_INDIA_STATIC_IP_REGISTERED | Optional | Operator attestation that this deployment IP is registered with the selected Indian broker. |
ARTHA_INDIA_DEMAT_SELL_AUTHORIZED | Optional | Operator attestation that required demat authorization is valid for Indian delivery sells. |
ARTHA_UPSTOX_ALGO_NAME | Optional | Optional exchange-approved algo name configured in the Upstox app. |
KITE_API_KEYSecret | Optional | Required only for the Zerodha adapter. |
KITE_ACCESS_TOKENSecret | Optional | Required only for the Zerodha adapter. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Artha Council
Artha is an AI-assisted equity research and portfolio automation system. It narrows a broad US-stock universe, ranks opportunities, asks independent analyst roles to debate the strongest candidates, monitors active investment theses, and uses deterministic broker gates before an order can proceed.
Version 1.4 hardens the MCP server with source/build provenance for portable local or OAuth-protected remote access. It supports the existing US workflow and market-aware broker adapters for Indian cash equities without treating US research as India data. India adapters provide broker-verified instrument lookup and fail-closed, whole-share delivery limit execution with current static-IP requirements.
Created and maintained by Sarath (@akira231097).
See the design notes and architecture diagram for a visual walkthrough of the research, Council, execution, and audit boundaries.
Artha is research software, not financial advice. Public defaults cannot place live trades. Anyone enabling broker integration is responsible for reviewing the source, their configuration, broker terms, and applicable requirements.
Why Artha Exists
Most stock screeners stop after ranking tickers. Artha treats investing as a stateful operating system:
- Find candidates from a large universe.
- Verify data quality and execution feasibility.
- Give scarce Council attention to the strongest candidates.
- Separate investment judgment from order execution.
- Monitor every held thesis and send material changes to a sell Council.
- Reconcile intended actions against broker state.
- Preserve evidence and state transitions for audit.
System Pipeline
Market data providers
-> universe and promotion funnel
-> investment sanity checks
-> broker-aware candidate router
-> opportunity scout
-> fundamental / technical / risk analysts
-> CIO synthesis
-> execution officer
-> deterministic broker review and placement gates
-> reconciliation, thesis tracking, Telegram, supervisor
The sell side runs independently of new-buy capacity:
Portfolio snapshot
-> position and thesis monitor
-> deterministic stop / invalidation triggers
-> sell Council for judgment decisions
-> execution officer
-> broker review and exact-order placement gate
-> post-fill reconciliation
Important Design Rules
Research is not execution
The Council answers: "Is this investment attractive?"
The execution layer answers: "Can this exact order be placed safely now?"
A good company can be temporarily unbuyable because the quote is stale, the spread is too wide, the price moved above the approved cap, or broker review is incomplete. Those conditions do not rewrite the investment thesis.
Missing broker proof blocks an order
Money-moving paths fail closed. A model statement that a check passed is not enough; Artha requires the decisive structured broker output.
Portfolio monitoring continues when buys pause
Position limits and invested-capacity limits pause new buys only. Monitoring, sell review, reconciliation, health checks, and alerts continue running.
Major Components
artha/funnel.py- broad-universe promotion and multi-sleeve ranking.artha/broker_router.py- quote, liquidity, tradability, and data feasibility.artha/opportunity_scout.py- agentic pre-Council evidence review and ranking.artha/council.py- analyst roles, score audit, and CIO synthesis.artha/execution_officer.py- Stage A and Stage B execution reasoning.artha/alpha_shadow.py- non-authoritative alpha experiments and outcome tracking.artha/broker_capacity.py- portfolio and daily buy-capacity calculations.artha/stand_down.py- buy-only pause and next-session reset behavior.artha/sell_engine.py- position triggers and sell-side orchestration.artha/sell_council.py- hold, trim, and exit review.artha/position_classification.py- broker-position sector and industry repair.artha/execution_learning.py- post-trade execution-quality measurements.artha/fill_finalizer.py- broker-fill accounting and idempotent state finalization.artha/robinhood_bridge.py- broker handoff, review, clearance, and reconciliation.artha/scheduler.py- scheduled scans and lifecycle orchestration.artha/supervisor.py- production health and readiness checks.artha_mcp/- MCP tools, resources, prompts, authorization, jobs, redaction, research adapters, exact-order receipts, and broker reconciliation.dashboard/- local operator dashboard.
See Architecture for the complete component map.
Quick Start
Requirements: Python 3.12 or newer and Node.js 20 or newer.
git clone https://github.com/akira231097/artha-council.git
cd artha-council
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -e .
npm ci
cp .env.example .env
Add your own provider credentials to .env. Keep every Robinhood setting at its
safe default while evaluating the system.
python run.py overview
python run.py analyze AAPL MSFT V
python run.py broker-router-preview --assume-market-open --no-persist
python run.py supervise
artha-mcp --check
MCP
Connect any MCP-compatible host through local stdio using
.mcp.json.example, or deploy stateless Streamable HTTP
behind OAuth and TLS. The server starts read-only with its kill switch engaged.
artha-mcp
The user supplies their own model subscriptions, data subscriptions, broker credentials, and notification credentials. The MCP server never provides or shares the maintainer's accounts. See Artha MCP and India Support for the exact capability and safety boundary. See MCP Updates for release fingerprints, rolling versus stable channels, and the fail-closed local-source promotion path.
Verification
python -m compileall -q artha artha_mcp dashboard run.py
python -m unittest discover -s tests -t . -v
python scripts/check_release_integrity.py
python -m artha.test_enhancements
python -m artha.test_alpha_pipeline_hardening
python -m artha.test_production_hardening
python -m artha.test_feedback_loop_hardening
Tests use synthetic fixtures and must not require real broker credentials.
Docker
The included image supports the core Python research CLI:
docker build -t artha-council .
docker run --rm --env-file .env artha-council overview
The broker snapshot helper is intentionally outside this minimal Python image; it requires a separately configured Node.js MCP runtime and broker access.
Dockerfile.mcp builds the non-root MCP image. The main image tag is refreshed
after each tested default-branch update; release versions remain immutable.
Public Release Boundary
This repository contains source, tests, documentation, and safe configuration templates. It intentionally excludes:
- API keys, OAuth tokens, and
.envfiles - broker account identifiers and snapshots
- portfolios, order history, and transaction records
- SQLite journals and runtime state
- generated dossiers, traces, reports, and logs
- Telegram tokens, chat identifiers, and callback tokens
- local OpenClaw, launchd, and workstation configuration
- third-party market-data payloads
Third-party data and services remain governed by their own licenses and terms. The Apache license covers Artha's source code, not provider data or broker access.
Project Documents
- Architecture
- Design notes and diagram
- Public release and data boundary
- Artha MCP
- MCP source alignment and updates
- India support
- Security policy
- Contributing
- Authors
- Changelog
- Apache License 2.0
License and Citation
Artha Council is licensed under Apache License 2.0. Distributed copies and modifications must retain the applicable license, copyright, and attribution notices described in NOTICE.
Use CITATION.cff to cite the project. GitHub exposes it through the repository's Cite this repository control.
Frequently asked questions
What is Artha Council MCP Server?
Auditable equity research and fail-closed broker execution for US and Indian cash equities.
How do I install Artha Council MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Artha Council MCP Server runs locally from the Docker image ghcr.io/akira231097/artha-council-mcp:1.4.0 with the command docker run -i --rm ghcr.io/akira231097/artha-council-mcp:1.4.0.
Is Artha Council MCP Server free and open source?
Yes. Artha Council MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Artha Council MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Artha Council MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Artha Council MCP Server's trust score calculated?
Artha Council MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.