@shelter.money/mcp
v1.0.7
Published
Connect AI agents to scoped financial context from your own Shelter account
Maintainers
Readme
Shelter MCP Server
Connect Claude, Codex, Cursor, and other MCP-compatible agents to scoped financial context from your own Shelter account.
The server is read-only. It can retrieve forecasts, runway, alerts, opportunities, and affordability guidance, but it cannot move money or access Plaid credentials.
Requirements
- Node.js 20 or newer
- A Shelter account with connected financial data
- A scoped API key from shelter.money/developer
No Plaid developer account is required.
Quick start
Create an API key, then configure your MCP client to run:
npx -y @shelter.money/mcpwith SHELTER_API_KEY in the server environment.
Claude Desktop
{
"mcpServers": {
"shelter": {
"command": "npx",
"args": ["-y", "@shelter.money/mcp"],
"env": {
"SHELTER_API_KEY": "wv_your_key_here"
}
}
}
}Restart Claude Desktop after saving its configuration.
Codex
codex mcp add shelter --env SHELTER_API_KEY=wv_your_key_here -- npx -y @shelter.money/mcpCursor
Add this server to Cursor's MCP settings:
{
"shelter": {
"command": "npx",
"args": ["-y", "@shelter.money/mcp"],
"env": {
"SHELTER_API_KEY": "wv_your_key_here"
}
}
}Available tools
shelter_status— connection and authority statusshelter_runway— safe-to-spend runway and upcoming pressureshelter_forecast— manifest-bound cash-flow forecastshelter_alerts— current financial alertsshelter_opportunities— actionable savings opportunitiesshelter_context— scoped financial context for agent reasoningshelter_affordability— purchase affordability simulationshelter_coach_daily— daily coaching summaryshelter_coach_advice— coaching for a requested topicshelter_ask— ask Guardian a financial question
The package also provides financial checkup, spending review, and purchase-planning prompts.
Environment variables
| Variable | Required | Description |
| --- | --- | --- |
| SHELTER_API_KEY | Yes | Scoped key created in Shelter. Keep it secret. |
| SHELTER_API_URL | No | API base URL. Defaults to https://api.shelter.money/agent. |
| PORT | HTTP mode only | Local HTTP port. Defaults to 3100. |
If SHELTER_API_KEY is missing, the server still exposes its tool definitions but returns suppressed responses with no financial values. It never substitutes sample money data for a user's real financial state.
Security model
- End-user identity comes only from the scoped Shelter API key.
- Keys are stored by Shelter as SHA-256 hashes and shown only once when created.
- Keys can be scoped and revoked from the Shelter developer page.
- The hosted Agent API applies authentication, authorization, rate limits, and audit logging.
- The MCP package does not contain Shelter backend code, deployment secrets, Plaid tokens, or bank credentials.
- Financial responses fail closed when authoritative data is unavailable.
Treat the API key like a password. Do not commit it or place it directly in command history on shared machines. See SECURITY.md for vulnerability reporting.
Development
npm ci
npm run typecheck
npm run buildRun the stdio server from the built package:
SHELTER_API_KEY=wv_your_key_here node dist/bin/shelter-mcp.jsA stateless Streamable HTTP entrypoint is also built for controlled hosting:
SHELTER_API_KEY=wv_your_key_here npm startThe HTTP entrypoint binds to 0.0.0.0 and is not the recommended personal-client setup. Use stdio unless you operate and secure the HTTP environment yourself.
Architecture
This public repository contains only the MCP adapter. It calls Shelter's hosted, read-only Agent API. Shelter's private financial calculations, authentication gateway, database schema, and service credentials are not part of this package.
