A Model Context Protocol (MCP) server that provides pricing chart data for VCBF funds (VCBF-BCF and VCBF-MGF).
npm install vcbf-mcpA Model Context Protocol (MCP) server that provides pricing chart data for VCBF funds (VCBF-BCF and VCBF-MGF).
- Fetches real-time pricing data from VCBF website.
- Parses embedded JSON data from script tags.
- Caching: Implements a 30-minute in-memory cache to reduce network requests.
- Filtering: Supports filtering data by time period (1D, 90D, 1Y, 5Y, 10Y, MAX).
You can run the server directly without installation using npx.
``bash`
npx vcbf-mcp
`bash`
npm install -g vcbf-mcp
To use this with Claude Desktop, add the following to your claude_desktop_config.json:
#### Option 1: Using npx (Always latest)
`json`
{
"mcpServers": {
"vcbf": {
"command": "npx",
"args": [
"-y",
"vcbf-mcp"
]
}
}
}
#### Option 2: Local Development
If you have cloned the repository locally:
`json`
{
"mcpServers": {
"vcbf": {
"command": "node",
"args": [
"/path/to/vcbf-mcp/dist/index.js"
]
}
}
}
Retrieves pricing data for a specified fund.
Parameters:
- symbol (required): VCBF-BCF or VCBF-MGFperiod
- (optional): 1D, 90D, 1Y, 5Y, 10Y, MAX (default)
Example:
`json`
{
"symbol": "VCBF-BCF",
"period": "1Y"
}
1. Install dependencies:
`bash`
npm install
`
2. Build the project:
bash`
npm run build
`
3. Run locally:
bash``
node dist/index.js
ISC