{"id":34107216,"url":"https://github.com/nichsedge/ksei-mcp","last_synced_at":"2026-03-27T04:23:49.472Z","repository":{"id":306362769,"uuid":"1025622199","full_name":"nichsedge/ksei-mcp","owner":"nichsedge","description":"Unofficial MCP server for AKSes KSEI (akses.ksei.co.id) portfolio data ","archived":false,"fork":false,"pushed_at":"2025-08-04T12:09:20.000Z","size":160,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-17T01:16:34.795Z","etag":null,"topics":["finance-data","indonesia","ksei","mcp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nichsedge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-24T14:34:51.000Z","updated_at":"2025-08-23T10:32:21.000Z","dependencies_parsed_at":"2025-07-28T13:35:03.614Z","dependency_job_id":null,"html_url":"https://github.com/nichsedge/ksei-mcp","commit_stats":null,"previous_names":["ichsanulamal/ksei-mcp","nichsedge/ksei-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nichsedge/ksei-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichsedge%2Fksei-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichsedge%2Fksei-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichsedge%2Fksei-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichsedge%2Fksei-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nichsedge","download_url":"https://codeload.github.com/nichsedge/ksei-mcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichsedge%2Fksei-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31018569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["finance-data","indonesia","ksei","mcp"],"created_at":"2025-12-14T18:05:02.199Z","updated_at":"2026-03-27T04:23:49.465Z","avatar_url":"https://github.com/nichsedge.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KSEI MCP\n\nAn **unofficial Model Context Protocol (MCP)** server for accessing your [AKSes KSEI](https://akses.ksei.co.id) (Acuan Kepemilikan Sekuritas Kustodian Sentral Efek Indonesia) portfolio data.\n\nThis server enables AI assistants to retrieve Indonesian securities portfolio information, including:\n\n* Cash balances\n* Equity holdings\n* Mutual funds\n* Bonds\n* Other investments\n\n---\n\n## 🔧 Prerequisites\n\n* Python 3.11 or higher\n* Valid KSEI account credentials\n* [`uv`](https://docs.astral.sh/uv/getting-started/installation/) installed (recommended for quick execution)\n\n---\n\n## ⚙️ Installation \u0026 Setup\n\n### 1. Set Environment Variables\n\nSet the following environment variables:\n\n```bash\nexport KSEI_USERNAME=\"your_ksei_username\"\nexport KSEI_PASSWORD=\"your_ksei_password\"\nexport KSEI_AUTH_PATH=\"./data\"  # Optional, defaults to \"./data\" for saving auth tokens\n```\n\n### 2. Run with `uvx` (Recommended)\n\nThe easiest way to start the server is with [`uvx`](https://docs.astral.sh/uv/reference/cli/#uvx):\n\n```bash\n# Run directly from PyPI\nuvx ksei-mcp\n\n# Or run from the local directory\nuvx --from . ksei-mcp\n```\n\n### 3. Alternative: Traditional Installation\n\nIf you prefer manual installation:\n\n```bash\n# Install dependencies\npip install -e .\n```\n\n---\n\n## 🤖 Usage with MCP Clients\n\nAdd this configuration to your MCP-compatible client:\n\n```json\n{\n  \"mcpServers\": {\n    \"ksei\": {\n      \"type\": \"stdio\",\n      \"command\": \"uvx\",\n      \"args\": [\"ksei-mcp@latest\"]\n    }\n  }\n}\n```\n\n---\n\n## 🧪 Development: Using MCP Inspector\n\nFor local testing and development:\n\n```bash\n# Install MCP Inspector\nnpm install -g @modelcontextprotocol/inspector\n\n# Run with inspector\nmcp-inspector uvx --from . ksei-mcp\n```\n\n---\n\n## 💬 Example Queries\n\nOnce integrated into your AI assistant, you can ask:\n\n```\n\"Show me my KSEI portfolio summary\"\n\"What are my current cash balances?\"\n\"List all my equity holdings\"\n\"Get my mutual fund investments\"\n\"Fetch all portfolio data\"\n```\n\n### Example (Using Gemini CLI)\n\n![Gemini CLI Example](assets/gemini.png)\n\nOther supported clients include GitHub Copilot, Claude, and any MCP-compatible assistant.\n\n---\n\n## 🔐 Security Considerations\n\n* **Credentials**: Never commit credentials to version control. Use environment variables or secure vaults.\n* **Token Storage**: Auth tokens are stored locally as JSON files.\n* **Secure Transport**: All communication with KSEI uses HTTPS.\n* **Access Control**: Restrict file system access to the authentication and data directories.\n\n---\n\n## 🛠️ Contributing\n\n1. Fork this repository\n2. Create a feature branch\n3. Implement your changes\n4. Add tests (if applicable)\n5. Open a pull request\n\n---\n\n## 📄 License\n\nLicensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n\n---\n\n## ⚠️ Disclaimer\n\nThis software is intended for **educational and personal use only**. Users are responsible for complying with KSEI's terms of service and all relevant regulations.\n\n\u003e **Note**: This is an **unofficial client** for KSEI services. It is not affiliated with or endorsed by KSEI.\n\n### Acknowledgement\n\nThis project is an adaptation from [chickenzord/goksei](https://github.com/chickenzord/goksei). Many thanks to the original author for their work and inspiration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichsedge%2Fksei-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnichsedge%2Fksei-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichsedge%2Fksei-mcp/lists"}