vcbf-mcp
v1.0.0
Published
A Model Context Protocol (MCP) server that provides pricing chart data for VCBF funds (VCBF-BCF and VCBF-MGF).
Readme
VCBF MCP Server
A Model Context Protocol (MCP) server that provides pricing chart data for VCBF funds (VCBF-BCF and VCBF-MGF).
Features
- 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).
Installation
Using npx (Recommended)
You can run the server directly without installation using npx.
npx vcbf-mcpGlobal Installation
npm install -g vcbf-mcpConfiguration
Claude Desktop
To use this with Claude Desktop, add the following to your claude_desktop_config.json:
Option 1: Using npx (Always latest)
{
"mcpServers": {
"vcbf": {
"command": "npx",
"args": [
"-y",
"vcbf-mcp"
]
}
}
}Option 2: Local Development
If you have cloned the repository locally:
{
"mcpServers": {
"vcbf": {
"command": "node",
"args": [
"/path/to/vcbf-mcp/dist/index.js"
]
}
}
}Tool Usage
get_fund_pricing
Retrieves pricing data for a specified fund.
Parameters:
symbol(required):VCBF-BCForVCBF-MGFperiod(optional):1D,90D,1Y,5Y,10Y,MAX(default)
Example:
{
"symbol": "VCBF-BCF",
"period": "1Y"
}Development
- Install dependencies:
npm install - Build the project:
npm run build - Run locally:
node dist/index.js
License
ISC
