AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Nsei Mcp Server

mcp-ngm9-nsei-mcp-server · by ngm9

National Stock Exchange India (NSEI) MCP Server

No reviews yet
0 installs
20 views
0.0% view→install

Install

$ agentstack add mcp-ngm9-nsei-mcp-server

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-ngm9-nsei-mcp-server)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Nsei Mcp Server? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

National Stock Exchange of India (NSEI) MCP Server

A Model Context Protocol (MCP) server that provides access to NSEI trade data through a standardized interface. This server allows AI assistants like Claude to access financial data programmatically.

Features

  • Get top Movers: Access the top movers — gainers and losers for any given time period (presently limiting upto any 3 months interval)
  • Get latest trades: Retrieve latest trades for further analysis of the day's movements

Installation

Prerequisites

  • Python 3.8 or higher
  • UV package manager (recommended) or pip
  • Financial Modeling Prep API key

Setup

  1. Clone this repository
  1. Install dependencies using UV (recommended):

``bash uv venv uv pip install -r requirements.txt ``

Or using pip: ``bash pip install -r requirements.txt ``

Running the Server

Using UV (Recommended)

UV provides faster dependency resolution and installation. To run the server with UV:

# Activate the virtual environment
uv venv activate

# Run the server
python nsei_mcp_server.py

The server will start and listen for connections on the default MCP port.

Using pip

# Create and activate a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Run the server
python fmp_mcp_server.py

Connecting with Claude Desktop

Claude Desktop can connect to MCP servers to access financial data. Here's how to set it up:

  1. Download Claude Desktop
  2. If you're running the server from previous steps, you may shut it down since Claude Desktop will spawn a local server by itself.
  3. Edit claudedesktopconfig.json:
    	"fmp_mcp_server": {
            "command": "uv",
            "args": [
                "--directory",
                "REPLACE ME WITH ABSOLUTE DIRECTORY TO REPO",
                "run",
                "fmp_mcp_server.py"]
             }
 ```

Now Claude can use the FMP data through the MCP interface. You can ask Claude to:
- Get top movers for the day from NSE
- Retrieve trades for a particular stock — "how did RIL perform today?"
- And more!

## Example Queries for Claude

Once connected, you can ask Claude questions like:

- "How did SBI's stock perform today?"
- "Was RIL among the top movers today?"
- "Find me the biggest losers by percentage points in today's equity market trading"

## Caching

Will be implemented in future versions

## Logging

Logs are written to the `logs` directory with rotation enabled:
- Maximum log file size: 10MB
- Number of backup files: 5

## License

[MIT License](LICENSE)

## Acknowledgements

- [Shadi Copty's FMP MCP Server](https://github.com/shadi-fsai/fmp_mcp_server) for providing the API
- [MCP Server QuickStart guide](https://modelcontextprotocol.io/quickstart/server) for the Model Context Protocol quick start guides implementation

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ngm9](https://github.com/ngm9)
- **Source:** [ngm9/nsei_mcp_server](https://github.com/ngm9/nsei_mcp_server)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.