Fairband
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Fairband
Fairband is a local equity research workbench that pairs a rule-based valuation engine with an MCP server for your AI agents. It pulls market data from Financial Modeling Prep using your API key, runs mechanical valuations, and gives you a single web interface to screen companies, inspect financials, track watchlists, and read research. Your agent connects over MCP to read that same data, challenge the model's assumptions where needed, and write full research reports back into the workbench. It currently only supports Claude Code.

Architecture
flowchart LR
you(["You"]) --> pages["Fairband web interface"]
agent(["Your agent (Claude Code)"]) -- "55 MCP tools" --> mcp["MCP server"]
pages --> server["Fairband server and valuation engine"]
mcp --> server
server -. "starts research session" .-> agent
server <--> db[("SQLite database on your disk")]
server -- "your FMP key" --> fmp["Financial Modeling Prep"]Fairband is made up of four parts:
Valuation engine: Deterministic and rule-based. It sorts each company into one of six lifecycle phases, pairs it with a moat class (Wide, Narrow, or None), and values it under that phase's rules. See docs/method-overview.md for a short overview of the method.
SQLite database: A single database file on your disk storing raw FMP data, valuation snapshots, and everything you or your agent writes.
Web interface: A screener across all companies, a page for each company (overview, financials, estimates, investor relations, and research), plus pages for watchlists, methodology, settings, and the agent inbox.
MCP server: Exposes 55 tools so your agent can query stored data, request additional data from FMP through the server, and save notes, findings, moat classes, updated valuations, and full reports.
Related MCP server: mcp-gateway
Screenshots
Screener
Every company in one table, showing lifecycle phase, fair value band, mechanical and reviewed valuations, and where the price sits relative to value.

Company overview
Company profile, mechanical and reviewed valuations (buy, fair, and trim levels), your agent's stance, price and volume chart, and key statistics.

Financials
Annual and quarterly income statement, balance sheet, cash flow, segments, and ratios, with clickable rows you can plot on the chart.

Research reports
Agent-written reports with a section outline, cited numbers (underlined figures link back to stored data), and inline charts.

Research workflow
Click Request research on a company page. Fairband creates a work item in the inbox and can automatically open a terminal running Claude Code on it.
The agent claims the work item and follows the research playbook, pulling the mechanical valuation, financials, estimates, filings, recent earnings call transcript, and news over MCP.
If the agent disagrees with any of the engine's inputs (or the moat class), it updates them with a written explanation and supporting evidence. Fairband recalculates and shows the reviewed valuation alongside the mechanical one.
The agent submits the report; Fairband validates its citations and saves it.
The report appears in the company's Research tab along with its expiration date.
Quickstart
Requirements: Python 3.13+, uv, and a Financial Modeling Prep API key. I run Fairband on Linux under WSL with FMP's Ultimate plan; other systems and lower FMP tiers haven't been tested.
Clone the repo and install dependencies:
git clone https://github.com/kabanami/fairband.git cd fairband uv syncAdd your FMP API key to
~/.config/fairband/keys.toml(outside the repo):[keys] fmp = "your-fmp-key"Start the server, then open http://127.0.0.1:8470:
uv run fairband serveClick Refresh all in the UI. The first refresh pulls data for every company from FMP, so it takes a while and the database in
~/.local/share/fairbandwill grow to several gigabytes.Register the MCP server and link the research playbook in Claude Code (replace
<repo>with the absolute path to your clone):claude mcp add --scope user fairband -- uv run --directory <repo> fairband mcp ln -s <repo>/playbook/fairband-research ~/.claude/skills/fairband-research
See docs/agents.md for configuring automatic terminal launching from the UI, agent identity, and connecting other MCP hosts.
MCP server and tools
fairband mcp runs as a stdio MCP server spawned by your agent host. It's a thin client over
the local HTTP API (127.0.0.1:8470), so it doesn't access the database or your FMP key
directly.
The 55 tools fall into three groups:
Stored data reads (26): Query the screener, valuations, financial statements, quarterly figures, estimates, price history, multiples, peers, existing research, policy settings, and methodology docs.
Vendor reads (9): Fetch transcripts, news, segments, insider trades, and filings from FMP through the local server. The data is saved to SQLite so reports can cite it, and anything already cached by a recent refresh is reused when available.
Writes (20): Register agent identity, manage inbox work items, save notes, findings, guidance, moat classes, updated valuations, kill criteria, and full reports, or trigger refreshes.
Before making any writes, an agent has to call identify with its model name; every write is
tagged with that identity. See tools.md for the
full tool reference and playbook/fairband-research for the
step-by-step research playbook.
Valuation methodology
See docs/method-overview.md for a short overview, or docs/method.md for the full valuation rules. The web UI also includes a Methodology view with worked examples.
Status
Fairband is a personal project shared as-is, with no guarantee of support. Issues are welcome; if you want to submit a pull request, please open an issue first.
The project is still early and the valuation rules change regularly. Nothing in this repository is investment advice.
No market data is included in this repository. The screenshots were taken using my own FMP subscription; to run Fairband yourself, you'll need your own API key and must follow your data vendor's terms.
License
Licensed under the Apache License 2.0. Third-party software and font notices are in NOTICE. Per Section 6 of the license, this does not grant rights to use the Fairband name or logo.
Author
Khalid Abanami (LinkedIn)
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Your investing research inside Claude: watchlists, financial ratios, reverse-DCF valuations, investment theses, notes, portfolio, earnings calendar and news for the companies you follow. 70 read and write tools; ask what's on your morning desk, rank a watchlist by ROE, log a trade or save a thesis. OAuth sign-in. Free to start.
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Research-only MCP server: your AI as a quant research desk. 90 tools, no trades, no brokers.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI equity-research analyst for Indian NSE/BSE markets with 28 MCP tools enabling sector screens, valuations, SWOTs, and forensic audits using Claude Agent SDK.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes local agents as tools for Claude Code, enabling capabilities in quant, trading, news, reports, robotics, Notion, and FreeCAD.1-
- AlicenseAqualityDmaintenanceIndia's first MCP server for Indian equity research, enabling Claude to access structured financial data, operational KPIs, and documents for 5,000+ NSE/BSE listed companies.1943 npm15MIT
- FlicenseBqualityDmaintenanceAn MCP server that transforms standard LLMs into autonomous investment bankers, enabling live market data retrieval, fundamental ratio calculations, DCF valuations, portfolio diversification assessment, and automated emailing of executive reports.12-