CSE MCP

by Gajarthan

315 downloads
Not rated
GitHub

About

TypeScript MCP server for Colombo Stock Exchange company search, stock quotes, market status, market summary, top gainers, top losers, and index summaries.

Details

Author
Gajarthan
Downloads
315
Categories
Finance

- Search CSE-listed companies by symbol or name
- Get normalized stock quote data for a valid symbol
- Fetch market status and market summary
- Retrieve top gainers and top losers
- Retrieve ASPI and S&P SL20 index summaries
- Works with local stdio MCP clients through npx

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name CSE MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure a local MCP client (e.g., in VS Code or Claude Desktop) with the server definition shown below. The server runs via npx and communicates over stdio.

{
  "mcpServers": {
    "cse": {
      "command": "npx",
      "args": ["-y", "@gajarthan/cse-mcp"]
    }
  }
}

search_company

Search Colombo Stock Exchange companies by name or symbol using ranked matching.

get_stock_quote

Get a normalized stock quote for a single CSE symbol, including price movement, volume, turnover, market cap, and beta values.

get_market_status

Return the current Colombo Stock Exchange trading session status.

get_market_summary

Return concise market-wide volume, turnover, trade-count, and trade-date data.

get_top_gainers

Return the top CSE gainers with normalized price, percentage change, and timestamps.

get_top_losers

Return the top CSE losers with normalized price, percentage change, and timestamps.

get_index_summary

Return ASPI, S&P SL20, or both as concise index summaries.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "cse mcp": {
            "cse": {
                "command": "npx",
                "args": [
                    "-y",
                    "@gajarthan/cse-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "cse": {
        "command": "npx",
        "args": [
            "-y",
            "@gajarthan/cse-mcp"
        ]
    }
}

CSE MCP

CSE MCP is a Model Context Protocol server for the Colombo Stock Exchange. It lets MCP-compatible clients search listed companies, fetch normalized stock quotes, and retrieve market-wide snapshots such as market status, market summary, top gainers, top losers, and index summaries. ## Features - Search CSE-listed companies by symbol or company name - Get normalized stock quote data for a valid symbol - Fetch market status and market summary - Retrieve top gainers and top losers - Retrieve ASPI and S&P SL20 index summaries - Works with local stdio MCP clients through npx ## Install ```json { "mcpServers": { "cse": { "command": "npx", "args": ["-y", "@gajarthan/cse-mcp"] } } } ## Repository https://github.com/Gajarthan/cse-mcp
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.