# Portfolio Analytics Server

### Portfolio Analytics Server

**URL:** `https://backend.contextbridge.xyz/mcp/portfolio-analytics`

**Tools:** 47 comprehensive analytics tools

**Credits:** 1-5 per tool

The most comprehensive tool in the ContextBridge suite, offering advanced wallet analysis, DeFi position tracking, risk assessment, and performance analytics across EVM and Solana networks.

#### Tool Categories

**Wallet Analysis (12 tools)**

**analyze\_evm\_wallet\_account** (5 credits)

* Comprehensive wallet analysis with risk scoring
* Parameters: `address`, `chain`
* Example: "Analyze wallet 0x... on Ethereum"

**get\_wallet\_profitability** (3 credits)

* Calculate wallet profitability metrics
* Parameters: `address`, `chain`
* Example: "Show profit/loss for wallet 0x..."

**get\_wallet\_net\_worth** (3 credits)

* Get total wallet net worth
* Parameters: `address`, `chain`
* Example: "What's the net worth of 0x...?"

**get\_wallet\_active\_chains** (2 credits)

* List all chains where wallet is active
* Parameters: `address`
* Example: "Which chains is 0x... active on?"

**get\_wallet\_profitability\_summary** (3 credits)

* Get profitability summary across all tokens
* Parameters: `address`, `chain`
* Example: "Summarize profits for wallet 0x..."

**get\_wallet\_swaps** (2 credits)

* Get wallet swap history
* Parameters: `address`, `chain`
* Example: "Show swap history for 0x..."

**get\_wallet\_token\_approvals** (2 credits)

* Get token approval history
* Parameters: `address`, `chain`
* Example: "List token approvals for 0x..."

**get\_wallet\_nft\_collections** (2 credits)

* Get NFT collections owned by wallet
* Parameters: `address`, `chain`
* Example: "What NFT collections does 0x... own?"

**get\_solana\_wallet\_portfolio** (3 credits)

* Get Solana wallet portfolio
* Parameters: `address`
* Example: "Show Solana portfolio for wallet..."

**get\_solana\_wallet\_swaps** (2 credits)

* Get Solana wallet swap history
* Parameters: `address`
* Example: "Show Solana swaps for wallet..."

**get\_solana\_nfts\_by\_wallet** (2 credits)

* Get Solana NFTs owned by wallet
* Parameters: `address`
* Example: "List Solana NFTs for wallet..."

**get\_top\_profitable\_wallets** (3 credits)

* Find most profitable wallets for a token
* Parameters: `chain`, `tokenAddress`
* Example: "Who are the top profitable holders of token 0x...?"

**DeFi Analytics (8 tools)**

**get\_defi\_summary** (3 credits)

* Get DeFi positions summary
* Parameters: `address`, `chain`
* Example: "Show DeFi positions for 0x..."

**get\_defi\_positions\_by\_protocol** (3 credits)

* Get DeFi positions by specific protocol
* Parameters: `address`, `chain`, `protocol`
* Example: "Show Aave positions for 0x..."

**NFT Analytics (6 tools)**

**get\_top\_nft\_collections\_by\_market\_cap** (2 credits)

* Get top NFT collections by market cap
* Parameters: `chain`
* Example: "Top NFT collections on Ethereum"

**get\_hottest\_nft\_collections\_by\_trading\_volume** (2 credits)

* Get hottest NFT collections by volume
* Parameters: `chain`
* Example: "Trending NFT collections by volume"

**get\_nft\_owners** (2 credits)

* Get all owners of an NFT collection
* Parameters: `chain`, `address`
* Example: "Who owns NFTs from collection 0x...?"

**get\_nft\_token\_id\_owners** (2 credits)

* Get owner of specific NFT token ID
* Parameters: `chain`, `address`, `tokenId`
* Example: "Who owns NFT #123 from collection 0x...?"

**get\_solana\_nft\_metadata** (2 credits)

* Get Solana NFT metadata
* Parameters: `address`
* Example: "Get metadata for Solana NFT..."

**Token Analytics (15 tools)**

**get\_token\_analytics** (2 credits)

* Get comprehensive token analytics
* Parameters: `chain`, `address`
* Example: "Analyze token 0x... on Ethereum"

**get\_token\_holders** (2 credits)

* Get token holder list
* Parameters: `chain`, `address`
* Example: "Who holds token 0x...?"

**get\_token\_holder\_stats** (2 credits)

* Get token holder statistics
* Parameters: `chain`, `address`
* Example: "Show holder stats for token 0x..."

**get\_token\_swaps** (2 credits)

* Get token swap history
* Parameters: `chain`, `address`
* Example: "Show swap history for token 0x..."

**get\_token\_transfers\_by\_contract** (2 credits)

* Get token transfer history
* Parameters: `chain`, `address`
* Example: "Show transfers for token 0x..."

**get\_pair\_swaps** (2 credits)

* Get trading pair swap data
* Parameters: `chain`, `pairAddress`
* Example: "Show swaps for pair 0x..."

**get\_snipers\_by\_pair** (3 credits)

* Identify sniper wallets for a pair
* Parameters: `chain`, `pairAddress`
* Example: "Find snipers for pair 0x..."

**get\_new\_tokens\_by\_exchange** (2 credits)

* Get newly listed tokens on DEX
* Parameters: `chain`, `exchange`
* Example: "New tokens on Uniswap"

**get\_bonding\_tokens\_by\_exchange** (2 credits)

* Get bonding curve tokens
* Parameters: `chain`, `exchange`
* Example: "Show bonding tokens on Pump.fun"

**get\_graduated\_tokens\_by\_exchange** (2 credits)

* Get graduated tokens from bonding curves
* Parameters: `chain`, `exchange`
* Example: "Graduated tokens from Pump.fun"

**get\_solana\_token\_metadata** (2 credits)

* Get Solana token metadata
* Parameters: `address`
* Example: "Get metadata for Solana token..."

**get\_solana\_new\_tokens\_by\_exchange** (2 credits)

* Get new Solana tokens on DEX
* Parameters: `exchange`
* Example: "New tokens on Raydium"

**get\_solana\_top\_token\_holders** (2 credits)

* Get top Solana token holders
* Parameters: `address`
* Example: "Top holders of Solana token..."

**get\_solana\_token\_holder\_stats** (2 credits)

* Get Solana token holder statistics
* Parameters: `address`
* Example: "Holder stats for Solana token..."

**get\_solana\_token\_swaps** (2 credits)

* Get Solana token swap history
* Parameters: `address`
* Example: "Swap history for Solana token..."

**Block Data**

**get\_block** (1 credit)

* Get block information
* Parameters: `chain`, `blockNumber`
* Example: "Get block 18000000 on Ethereum"


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://contextbridge.gitbook.io/context-bridge/getting-started/portfolio-analytics-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
