Browse / MCP servers

sahmk-sa/sahmk-mcp

Official SAHMK MCP server for AI agent access to Saudi market data (v0.7.0). Default public Dev API host: api.sahmk.sa.

  • MCP
  • agents
  • ai
  • finance
  • fintech
  • market-data
  • mcp
  • model-context-protocol
  • python
  • saudi-arabia
  • tadawul

Needs keys or hardware.Tested on 2026-12-05. From the README alone, on Linux with Luna.

For maintainers

Fix your README for agents

Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.

Improve the README and setup experience of sahmk-sa/sahmk-mcp so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Needs keys or hardware (an account or key, tested 2026-12-05).
Please:
1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
3. Keep install and first-use commands copy-pasteable with pinned dependencies.
Also review the recorded check notes (known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.

Shareable status badge

Add a live Coldpass Linux verification badge to your README.

Coldpass status for sahmk-sa/sahmk-mcp
[![Coldpass status](https://coldpass.dev/badge/sahmk-sa--sahmk-mcp.svg)](https://coldpass.dev/repo/sahmk-sa--sahmk-mcp/)

What we checked

Is it safe?Review first. Found: known vulnerabilities.Each check
  • Malware: none found in the 74 Python and npm packages installed during our run (OSV malware advisories). Its declared dependencies were not checked: OSV found no pinned versions to look up.
  • Secrets in its files: none found by gitleaks.
  • Known vulnerabilities in its dependencies: 12 OSV advisories: pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721).
  • Lines that download and run a program: none found in its source.
  • Planted fake secret files: repo code opened none.
  • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
  • Hosts the repo's own code contacted: none. Not counted here: 1 host we could not tie to the repo, the installer or the test agent (pypi.org).

From our newest run of each setup (Dec 5, 2026). A quiet run is not a safety guarantee.

Can a small agent set it up?Not tested (Luna, an account or key)The run

Stuck at: Calling market data API without SAHMK_API_KEY

What failed: MCP tool reported missing credentials: {"content": [{"text": "Error calling tool 'get_market_summary': SAHMK_API_KEY environment variable is not set.

Suggested fix: Provide a valid SAHMK_API_KEY in the runtime environment, then replay .coldpass/probe.json to confirm a market summary response.

Test history

  • Dec 5, 2026 · 38ca5450eee5 · linux / Luna · needs a key or login we did not have · run JSON
Does it do what the README says?0 of 3 claims held up. A claim is one README promise we ran and checked.Evidence

No claim held up.

Which checks were skipped?4 checks skipped.Reasons

Skipped checks count as neither passes nor failures.

  • Official distribution: GitHub and PyPI only.: This claim concerns distribution channels; the pinned source was fetched from the stated official GitHub repository, while a PyPI publication check is outside the guest operation.
  • Use Saudi market data inside AI agents such as Cursor and Claude Desktop.: SAHMK_API_KEY is required by the README; no API key is available in this guest.
  • This MCP exposes a curated set of Sahmk tools for AI agents, so assistants can query the Saudi market in natural language.: SAHMK_API_KEY is required by the README; no API key is available in this guest.
  • Run directly: The README direct-run command requires SAHMK_API_KEY, which is unavailable. The server entrypoint was launched and get_market_summary called; it returned the documented missing-key error.
Does the repo’s own CI pass?Success.GitHub checks

GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

Needs keys, a login or a browser?Yes.Details

credentials

What does it depend on?Python 3.12.3, SAHMK MCP package and dependencies, SAHMK_API_KEY (required to successfully query market data)Dependencies

Software the test agent reported the README needed.

Local or hosted?bothHow we tell

From the README and the endpoint we tested.

Is the README accurate?Yes.Deviations

No step differed.

What did it do when we ran it?During our run, it tried to contact 1 outside address.What we saw

Linux / Luna

  • During our run, sahmk-mcp tried to contact 1 address on port 443: 151.101.0.223 (files.pythonhosted.org, pypi.org).
  • While installing, git-remote-https looked up github.com.
  • While installing, python looked up files.pythonhosted.org, pypi.org.
  • During our run, sahmk-mcp looked up pypi.org.
  • We found no known-malicious packages among the 74 Python and npm packages we observed (checked against OSV malicious-package advisories).

We found no compiled programs in its files.

What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the TCP connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

A quiet run is not a safety guarantee.

Is it maintained?MaintainedActivity

actively maintained: last commit 0 days ago; 9 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-12-05

AboutStars: 15 · Forks: 3 · Contributors: 2 · Owner account since Sep 6, 2026Source

Recorded GitHub repository and owner account metadata.

LicenseSPDX: MIT · commercial use: yesSource

From GitHub’s license detection. The repository’s license text gives the terms.

MCP24 tools · ~6,130 context tokensTools

From the tools/list page returned on Dec 5, 2026 with Luna.

  • get_quote
  • get_quotes
  • get_market_summary
  • get_market_movers
  • get_sectors
  • get_company
  • get_financials
  • get_ratios
  • compare_symbols
  • get_dividends
  • get_depth
  • get_trades
  • get_events
  • get_historical
  • companies_list
  • get_portfolios
  • get_portfolio
  • create_portfolio
  • get_portfolio_transactions
  • create_portfolio_transaction
  • set_portfolio_holdings
  • reverse_portfolio_transaction
  • get_portfolio_summary
  • get_portfolio_performance
Cost to runNeeds a key or login (name not captured)Details

Peak guest RAM: 508 MiB

Guest disk change: 155 MiB

GPU need: not captured

Paid service: not captured