Basic information

Runtime
TypeScript
Version
2.0.1
License
ISC
Transports
stdio
Author
gajarthan
Submitted by
Community
Quality
25
Stars
3

About CSE MCP Server

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

CSE MCP is a MCP server in the Finance & Commerce category listed in the AddMCP.net directory, published by Gajarthan. It exposes 7 tools, including search_company, get_stock_quote, get_market_status, get_market_summary and more. Supported transport: stdio. Runtime: TypeScript. License: ISC. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: colombo-stock-exchange, finance, market-data, mcp, stocks.

Setup

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

CSE MCP config

Add this server to your MCP-compatible client using the configuration below.

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

CSE MCP tools

  • search_company — Search Colombo Stock Exchange companies by name or symbol using ranked matching.
    query:string*
  • get_stock_quote — Get a normalized stock quote for a single CSE symbol, including price movement, volume, turnover, market cap, and beta values.
    symbol:string*
  • get_market_status — Return the current Colombo Stock Exchange trading session status.
    (no parameters)
  • get_market_summary — Return concise market-wide volume, turnover, trade-count, and trade-date data.
    (no parameters)
  • get_top_gainers — Return the top CSE gainers with normalized price, percentage change, and timestamps.
    limit:integer
  • get_top_losers — Return the top CSE losers with normalized price, percentage change, and timestamps.
    limit:integer
  • get_index_summary — Return ASPI, S&P SL20, or both as concise index summaries.
    index:string

Overview

What is CSE MCP?

CSE MCP is a Model Context Protocol server for the Colombo Stock Exchange. It allows MCP-compatible clients to search listed companies, fetch normalized stock quotes, and retrieve market-wide snapshots such as market status, top gainers, top losers, and index summaries.

How to use CSE MCP?

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"]
    }
  }
}

Key features of CSE MCP

  • 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

Use cases of CSE MCP

  • Track real-time stock quotes for portfolio monitoring
  • Scan top gainers and losers for daily trading ideas
  • Retrieve market summaries and index levels for research
  • Identify company details via symbol or name search
  • Automate market status checks for trading bots

Frequently asked questions

1 How do I install CSE MCP?

Add the provided JSON snippet to your MCP client configuration under mcpServers. The server is fetched and run automatically using npx with the package @gajarthan/cse-mcp.

2 What data does CSE MCP provide?

It provides company search results, normalized stock quotes, market status, market summary, top gainers and losers, and ASPI and S&P SL20 index summaries.

3 Does CSE MCP work with any MCP client?

Yes, it works with any MCP client that supports local stdio‑based servers, as it communicates over stdin/stdout via npx.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬