Skip to main content
Glama
README.md
# Concordia MCP

An advanced Model Context Protocol (MCP) server that provides comprehensive analytics for Solana wallets, offering real-time portfolio insights and detailed DeFi activity tracking.

## 📊 Features

- **Portfolio Performance Metrics**: Track ROI, historical performance, and asset allocation
- **Cross-Protocol Position Monitoring**: Unified view of assets across Solana's DeFi ecosystem
- **Behavioral Analytics**: Advanced pattern recognition for trading and investment habits
- **Smart Strategy Suggestions**: AI-powered recommendations based on market conditions and risk profile
- **Transaction Intelligence**: Deep contextual analysis of on-chain activities

## 🔌 Supported Protocols

| Protocol Category      | Supported Platforms       |
| ---------------------- | ------------------------- |
| DEX & Swaps            | Jupiter, Raydium, Orca    |
| Liquid Staking         | Marinade, Lido            |
| Lending                | Solend, Mango Markets     |
| Orderbook              | Serum DEX V3              |
| NFT Marketplaces       | Metaplex, Magic Eden      |
| Concentrated Liquidity | Orca Whirlpools, FluxBeam |

## 🚀 Getting Started

### Prerequisites

- Node.js v16+
- pnpm
- Solana RPC endpoint

### Installation

```bash
# Clone the repository
git clone https://github.com/The400MillionDollarCorporation/portfolio_tracker.git
cd portfolio-tracker

# Install dependencies
pnpm install
```

### Configuration

Create an `.env` file with your configuration:


```
SOLANA_RPC_URL=https://mainnet.helius-rpc.com/?api-key=ad83f75e-b1c4-4fbd-b405-866fe3b9c558
```

> **Note:** This is a live, rate-limited RPC URL provided for convenience. For production use, it's highly recommended to obtain your own dedicated RPC endpoint.



### Usage

```bash
# Production build
pnpm run build

# Run with MCP Inspector for testing
npx @modelcontextprotocol/inspector node build/index.js
```

## 🖥️ Claude Desktop Integration

Add the following configuration to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "solanaTracker": {
      "command": "node",
      "args": ["${absolutePath}/build/index.js"],
      "env": {
        "SOLANA_RPC_URL": "https://your-rpc-endpoint.com"
      }
    }
  }
}
```


## Core Features of Our Portfolio Tracker

### Portfolio Analytics

- Token balance history visualization
- Investment performance relative to market benchmarks
- Impermanent loss calculations for LP positions
- APY/APR tracking across protocols

### Risk Intelligence

- Liquidity exposure analysis
- Protocol concentration warnings
- Smart contract risk assessment
- Slippage and price impact predictions

### Behavioral Insights

- Trading timing analysis
- Gas efficiency recommendations
- Yield optimization opportunities
- Strategy comparison with similar wallets



## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## 📜 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 📧 Contact

For questions or support, please open an issue on the GitHub repository.

TDQS

C2.9/5.0

Scored across 3 tools

Disambiguation4/5

The tools have distinct primary purposes: analyzeWallet focuses on DeFi profiling and recommendations, fetchWalletActivity retrieves transaction history, and getTransactionDetails provides specific transaction data. However, there is some overlap as analyzeWallet likely uses transaction data, but the descriptions clarify their different intents well.

Naming Consistency3/5

The naming is mixed: analyzeWallet and fetchWalletActivity use camelCase, while getTransactionDetails uses a different verb style and structure. This inconsistency makes the set less predictable, though the names remain readable and descriptive of their functions.

Tool Count3/5

With only 3 tools, the server feels thin for a DeFi/Solana wallet analysis domain. While the tools cover key operations, more comprehensive coverage (e.g., for token balances or portfolio tracking) might be expected, making the count borderline for the apparent scope.

Completeness3/5

The tools provide good coverage for wallet analysis and transaction details, but there are notable gaps. For example, there are no tools for fetching token balances, interacting with DeFi protocols, or updating wallet data, which could limit agent workflows in this domain.

Maintenance

ActivityInactive
ResponsivenessNo issues