This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is the CAS Parser Agent Toolkit — a collection of skills, templates, and documentation for AI coding agents to integrate Indian financial portfolio tracking into applications using the CAS Parser API.
This is NOT an application codebase — it's a reference toolkit containing templates and documentation.
AGENTS.md— Core rules for CAS Parser integration (authentication, endpoints, patterns)skills/casparser/SKILL.md— Detailed CAS Parser concepts, Indian financial domain knowledge, and integration patterns
skills/casparser/templates/— Code snippets for Python, Node.js, React, and curlskills/casparser/references/— Detailed guides for complex flows (CDSL fetch, email import, SDK)
The official cas-parser-node-mcp package exposes all API endpoints as tools, including Code Mode (write TypeScript SDK code in a sandbox) and a doc search tool. See AGENTS.md for configuration instructions.
- Read
AGENTS.mdfor core integration rules and MCP server config - Read
skills/casparser/SKILL.mdfor domain concepts and available templates - For frontend/web apps: Start with Portfolio Connect SDK (
@cas-parser/connect) — see Pattern 1 in SKILL.md - For backend/server-side: Use
/v4/smart/parsefor CAS parsing (auto-detects type) - Use the sandbox API key
sandbox-with-json-responsesfor development - Never expose API keys to the frontend — use access tokens (
at_prefix)