FinScreen
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FinScreenIs this applicant eligible for a ₦500,000 loan?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FinScreen — AI-Powered Loan Eligibility Screener
FinScreen is a loan officer assistant that uses Claude AI and Plaid's banking API to assess loan applicants. A loan officer asks a natural language question like "Is this applicant eligible for a ₦500,000 loan?" and Claude calls real banking tools to pull the applicant's financial data and return a structured eligibility verdict.
What We Built
The Core Idea
Instead of a loan officer manually checking bank statements, income history, and existing debts, they paste an applicant's Plaid access_token into FinScreen and ask Claude a question. Claude then autonomously calls the right tools in the right order, retrieves real bank data, and produces a structured assessment.
Architecture
Loan Officer (browser)
|
| fills in access_token + question
↓
FinScreen Web App (HTML frontend)
|
| POST /assess
↓
FastAPI Backend (web/app.py) ← MCP CLIENT
|
| stdio connection
↓
MCP Server (server.py) ← exposes 5 tools
|
| httpx calls
↓
Plaid Sandbox API
|
| bank data
↓
Claude (claude-sonnet-4-6)
|
| structured verdict
↓
Loan Officer sees: ELIGIBLE / INELIGIBLE + reasonsHow the Agentic Loop Works
The key architectural decision is that app.py acts as a proper MCP client — it does not pre-fetch data and dump it to Claude. Instead:
app.pyconnects toserver.pyvia stdio (MCP handshake)Claude receives the question + the list of available tools
Claude decides to call
check_account_balance→app.pyexecutes it via MCP session → result goes back to ClaudeClaude calls
verify_income→ same loopThis continues until Claude has enough data
Claude returns
end_turnwith the final verdict
Claude is the one deciding which tools to call — the system prompt in server.py defines the order.
Related MCP server: plaid-mcp
Project Structure
finscreen/
├── run.py # Start the web server
├── server.py # MCP server — registers all 5 tools
├── parse_spec.py # Phase 2 — parses Plaid OpenAPI spec
├── get_access_token.py # One-shot sandbox token generator
├── requirements.txt
├── .env.example # Copy to .env and fill in credentials
├── .mcp.json # MCP server config (team-shared)
├── claude_desktop_config.json # Claude Desktop config (optional)
│
├── config/
│ ├── __init__.py
│ └── settings.py # Loads env vars, validates credentials
│
├── tools/ # One file per MCP tool
│ ├── __init__.py
│ ├── balance.py # check_account_balance → /accounts/get
│ ├── income.py # verify_income → /transactions/get
│ ├── spending.py # analyze_spending_patterns → /transactions/get
│ ├── identity.py # verify_identity → /identity/get
│ └── liabilities.py # get_existing_liabilities → /liabilities/get
│
├── utils/
│ ├── __init__.py
│ ├── plaid_client.py # Shared httpx client for all Plaid calls
│ └── error_handler.py # Structured errors (transient/validation/permission/business)
│
├── web/
│ ├── app.py # FastAPI backend + MCP client loop
│ └── static/
│ └── index.html # Loan officer UI (single page)
│
└── tests/
├── test_tools.py # Validation + local tests (no credentials needed)
└── test_live.py # Full live sandbox integration testsThe 5 MCP Tools
Each tool maps to a specific Plaid endpoint and has a focused responsibility. Tool descriptions are written so Claude routes to the right tool reliably — each one explicitly states what it does not do.
Tool | Plaid Endpoint | Purpose |
|
| Checks if applicant has sufficient funds |
|
| Detects recurring salary/income credits |
|
| Assesses over-leverage risk via DTI ratio |
|
| Cross-checks declared identity vs bank records |
|
| Retrieves existing loans and credit card debt |
Note: verify_income and analyze_spending_patterns both use /transactions/get but look at opposite sides — inflows vs outflows. They are intentionally separate tools with distinct descriptions so Claude never confuses them.
Error Handling
Every tool returns structured errors — never a bare string like "Something went wrong". The error schema is:
{
"isError": true,
"errorCategory": "transient | validation | permission | business",
"isRetryable": true,
"message": "Human-readable explanation",
"detail": "Technical detail for debugging"
}Category | Example | Retryable |
| Plaid timeout, 5xx response | Yes |
| Empty access_token, bad date format | No |
| Invalid credentials | No |
| Liabilities product not enabled for this Item | No |
Setup
1. Clone and install
cd finscreen
python -m venv .venv
# Windows
.venv\Scripts\activate
# Mac/Linux
source .venv/bin/activate
pip install -r requirements.txt2. Configure credentials
cp .env.example .envFill in .env:
PLAID_CLIENT_ID=your_client_id
PLAID_SECRET=your_sandbox_secret
PLAID_ENV=sandbox
ANTHROPIC_API_KEY=your_anthropic_api_keyGet Plaid credentials free at dashboard.plaid.com. Get your Anthropic API key at console.anthropic.com.
3. Generate a sandbox access token
python get_access_token.pyCopy the printed access_token into your .env as PLAID_ACCESS_TOKEN.
4. Run live tests
python tests/test_live.pyAll 5 tools should return ✓ PASS.
5. Start the server
python run.pyOpen http://localhost:8000 in your browser.
Usage
Open
http://localhost:8000Paste the applicant's
access_tokenType your assessment question e.g. "Is this applicant eligible for a ₦500,000 loan?"
Click Run Eligibility Assessment
Wait ~30-60 seconds while Claude calls all 5 tools
Receive a structured verdict: ELIGIBLE / INELIGIBLE, recommended limit, risk flags
Key Design Decisions
Tool descriptions include what each tool does NOT do. This prevents Claude from calling check_account_balance hoping to get transaction history. Each tool explicitly says "does NOT return transactions — call verify_income for that".
app.py is the MCP client, not a proxy. The backend connects to server.py via the MCP protocol and Claude calls tools through a proper session. The backend does not pre-fetch data.
Credentials never touch config files. .mcp.json uses ${ENV_VAR} substitution. .env is gitignored. claude_desktop_config.json is a template only.
reload=False in run.py. Uvicorn's hot reload kills the async stdio subprocess mid-assessment.
What's Next (Version 2 Features)
Database — store applicant records and past assessments
Plaid Link frontend — let applicants link their own bank account via the UI
Authentication — loan officer login before accessing assessments
PDF report export — generate a formal assessment document
Multi-applicant dashboard — compare multiple applicants side by side
Production Plaid environment — switch from sandbox to live bank data
Tech Stack
Layer | Technology |
AI Model | Claude Sonnet (claude-sonnet-4-6) |
MCP Framework | FastMCP (mcp >= 1.0.0) |
Backend | FastAPI + Uvicorn |
HTTP Client | httpx (async) |
Banking API | Plaid Sandbox |
Frontend | HTML / CSS / Vanilla JS |
Config | python-dotenv |
Validation | Pydantic v2 |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tomiwa-31/AI-Powered-Loan-Assistant-with-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server