mcp-meroshare
mcp-meroshare
MCP (Model Context Protocol) server for MeroShare — Nepal's online share application system by CDSC Nepal.
Use it through opencode or any MCP-compatible client to manage IPO/FPO applications, portfolio, and share transactions directly from your AI tools.
Features
IPO/FPO Application — view open issues, apply with dry-run support
Portfolio — check your holdings and transaction history
Account — view DP list, own details, linked bank accounts
Related MCP server: groww-mcp
Tools
Tool | Description |
| List all DPs with their numeric client IDs |
| Log in (password read from |
| Clear session |
| Open IPO/FPO/Rights issues |
| Apply for an issue (with dry-run) |
| Linked bank account info |
| Your profile (BOID, demat, email) |
| Share transaction history |
Installation
pip install mcp-meroshareSetup
Create a
.envfile in the directory where you'll run opencode:
MERO_SHARE_CLIENT_ID=162
MERO_SHARE_USERNAME="your_boid"
MERO_SHARE_PASSWORD="your_password"
MERO_SHARE_CRN_NUMBER="your_casba_crn"
MERO_SHARE_TRANSACTION_PIN="your_tpin"Find your
client_idby callingmeroshare_get_dp_list.
Lock the file:
chmod 600 .envAdd to your
opencode.json:
{
"mcp": {
"meroshare": {
"type": "local",
"command": ["python3", "-m", "mcp_meroshare"],
"enabled": true
}
}
}Run opencode in that directory and call
meroshare_loginwith yourclient_idandusername.
Security
Credentials are read only from
.env— never passed as tool argumentsSession auto-expires after 15 minutes of inactivity
.envfile permission warning if world-readable
License
MIT
Available Tools
10 toolsTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose, from login/logout to applying for IPOs and checking results, with no overlapping functionality.
All tools follow a consistent verb_noun snake_case pattern prefixed with 'meroshare', making them predictable and easy to distinguish.
With 10 tools, the server covers authentication, account details, IPO lifecycle, transactions, and bank info—well-scoped for a stock market application.
Covers core IPO operations and account management well, but lacks a direct tool for viewing current portfolio holdings, though transaction history partially covers it.
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
MCP server for Mudrex futures trading enabling AI agents to securely access data and risk tools.
MCP server for VC pitch-deck scoring, thesis-fit matching, and deal-flow management.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform558 PyPI852MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables users to manage equity holdings, execute trades, and track market data on Groww using natural language. It supports mutual fund investments and SIP management, including a mock mode for risk-free testing.23MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for A-share stock technical analysis and AI prediction, enabling LLM-based interaction to analyze stocks.345-
- FlicenseNot gradedqualityDmaintenanceAn MCP server for the Groww trading platform. This enables LLM applications to interact with your Groww trading account.5-