Skip to content

Repository files navigation

πŸ‘‘ Crown Hold

AI-Powered Financial Management Solution

Overview

Crown Hold is an intelligent financial orchestration platform that allows you to manage your cryptocurrency and traditional finance accounts through natural language conversations with Claude AI.

Simply ask Claude to perform complex financial operations, and Crown Hold will automatically coordinate actions across multiple platforms:

  • Polygon blockchain for cryptocurrency operations
  • Kraken exchange for crypto trading
  • Wise for international transfers

Key Features

  • πŸ€– Natural Language Control: Just talk to Claude naturally
  • πŸ”— Multi-Platform Orchestration: Seamlessly coordinate operations across services
  • πŸ”’ Security First: All credentials and recipients pre-configured
  • 🏠 Local-Only Execution: MCP servers run locally, never exposed to network
  • πŸ“Š Complete Visibility: Check balances across all platforms
  • πŸš€ Complex Workflows: Execute multi-step operations with a single request

Example Use Cases

"What's my USDC balance on Polygon?"

"Top up my Revolut with 1000 EUR"
β†’ Automatically: Get rates β†’ Transfer USDC β†’ Wait for confirmations β†’
  Sell on Kraken β†’ Withdraw to Wise β†’ Wait for bank transfer β†’
  Transfer to Revolut β†’ Wait for completion
  (Total time: ~2-3 days due to bank processing)

"Convert 500 USDC to EUR and keep it in Kraken"

"What's the current USDC/EUR rate?"

Important: Operations Are Asynchronous

⏳ Financial operations take time and require waiting between steps:

  • Blockchain transfers: 2-5 minutes for confirmations
  • Exchange deposits: 3-10 minutes for crediting
  • Trades: Seconds to minutes
  • Bank withdrawals: 1-3 business days
  • International transfers: Hours to days

Claude will automatically wait for each step to complete before proceeding to the next one, keeping you informed of progress along the way.

Architecture

Crown Hold is built as a monorepo containing multiple NestJS applications, each implementing the Model Context Protocol (MCP) to expose financial operations as tools for Claude:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Claude Desktop β”‚
β”‚    (You talk)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚
    β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”
    β”‚   MCP   β”‚
    β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
         β”‚
    β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚                          β”‚
β”Œβ”€β”€β”€β”΄β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”΄β”€β”€β”
β”‚Polygon β”‚  β”‚ Kraken β”‚  β”‚  Wise  β”‚
β”‚  MCP   β”‚  β”‚  MCP   β”‚  β”‚  MCP   β”‚
β””β”€β”€β”€β”¬β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”˜
    β”‚            β”‚           β”‚
β”Œβ”€β”€β”€β”΄β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”
β”‚Polygon β”‚  β”‚ Kraken β”‚  β”‚  Wise  β”‚
β”‚  API   β”‚  β”‚  API   β”‚  β”‚  API   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Getting Started

πŸš€ Phase 1A: Test MCP Integration First!

Before setting up the full system, validate that Claude Desktop integration works:

  1. Build minimal mock server (5 minutes)

    git clone <repository-url>
    cd crownhold/applications/mcp-polygon
    npm install --cache /tmp/.npm-cache
    npm run build
  2. Configure Claude Desktop (5 minutes)

    Follow: Claude Desktop Configuration - Phase 1A

  3. Test in Claude Desktop (2 minutes)

    Ask Claude: "What's my balance?"
    
    Expected: Claude calls polygon_get_balance and shows mock data
    
  4. βœ… Success? You've proven MCP works! Now continue with full setup below.

Why Phase 1A first? Better to spend 15 minutes validating integration than discover issues after hours of setup!


Prerequisites (Full System)

  • Node.js 18+
  • Claude Desktop
  • API keys for Kraken and Wise
  • Polygon wallet with private key

Quick Start (Full System)

  1. Clone and Install

    git clone <repository-url>
    cd crownhold
    npm install
  2. Configure Environment

    # Copy example env files
    cp applications/mcp-polygon/.env.example applications/mcp-polygon/.env
    cp applications/mcp-kraken/.env.example applications/mcp-kraken/.env
    cp applications/mcp-wise/.env.example applications/mcp-wise/.env
    
    # Edit .env files with your credentials
  3. Build MCP Servers

    npm run build
  4. Configure Claude Desktop

    Add MCP servers to Claude Desktop configuration (see docs/claude-setup.md)

  5. Start Talking!

    Open Claude Desktop and start managing your finances naturally

Documentation

Architecture & Design

Setup & Configuration

Development Plan

Security

⚠️ Important Security Notes:

  • Local-only execution: MCP servers run on your machine only, no network exposure
  • No remote access: Cannot be accessed from outside your computer
  • stdio communication: Claude Desktop communicates via stdin/stdout, not HTTP
  • Never commit .env files
  • Use separate API keys for development and production
  • Configure transaction limits in production
  • Only add trusted recipient addresses
  • Regularly review transaction logs
  • Use read-only API keys when possible
  • Physical access to machine required for operation

Project Structure

crownhold/
β”œβ”€β”€ applications/          # MCP server applications
β”‚   β”œβ”€β”€ mcp-polygon/      # Polygon blockchain integration
β”‚   β”œβ”€β”€ mcp-kraken/       # Kraken exchange integration
β”‚   └── mcp-wise/         # Wise transfer integration
β”œβ”€β”€ docs/                 # Documentation
└── CLAUDE.md            # Instructions for Claude Code

Development

# Install dependencies
npm install

# Build all applications
npm run build

# Run tests
npm test

# Lint code
npm run lint

Roadmap

  • Basic MCP servers implementation
  • Claude Desktop integration
  • Transaction logging and audit
  • Additional cryptocurrency support
  • DeFi protocol integration
  • Mobile app
  • Portfolio analytics

Contributing

This is a personal financial management tool. If you're interested in the concept, feel free to fork and adapt for your needs.

License

MIT

Disclaimer

This software handles real financial transactions. Use at your own risk. Always test with small amounts first. The authors are not responsible for any financial losses.


Built with ❀️ using Claude and Model Context Protocol

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages