MCP, MCP server
com.twelvedata/mcp
Connect Claude, ChatGPT, and other AI assistants to the Twelve Data financial API — real-time and historical prices, 60+ technical indicators, fundamentals, earnings, dividends, ETFs, company news, market movers, and more.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit d139a77ea0f7, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/client.py, line 90
resp = await http.get(f"{API_BASE}/{endpoint}", headers=headers, params=clean) - SECRETS_PATH_DOTENV Low
Mentions a .env file.
AGENTS.md, line 17
make configure CLIENT_ID=x CLIENT_SECRET=y # write .env from .env.example (overwrites it) - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
Dockerfile, line 10
RUN python -c "import tomllib, subprocess; deps = tomllib.load(open('pyproject.toml','rb'))['project']['dependencies']; subprocess.check_call(['pip','install','--no-cache-dir',*dep - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/auth.py, line 57
if os.environ.get("MCP_DATA_TWELVE_DATA_CLIENT_SECRET"):
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
Dockerfile, line 10
RUN python -c "import tomllib, subprocess; deps = tomllib.load(open('pyproject.toml','rb'))['project']['dependencies']; subprocess.check_call(['pip','install','--no-cache-dir',*dep
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/client.py, line 90
resp = await http.get(f"{API_BASE}/{endpoint}", headers=headers, params=clean)
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
AGENTS.md, line 17
make configure CLIENT_ID=x CLIENT_SECRET=y # write .env from .env.example (overwrites it)
src/auth.py, line 16
# Load .env at import time so all env vars are available before any method is called
src/auth.py, line 57
if os.environ.get("MCP_DATA_TWELVE_DATA_CLIENT_SECRET"):
Show more
src/auth.py, line 17
load_dotenv(Path(__file__).parent.parent / ".env", override=False)
src/auth.py, line 23
# the environment or .env, never from a tool argument or config.json. Configurable so the
src/auth.py, line 44
2. .env file in the project directory ← server deployments
src/auth.py, line 59
if os.environ.get("TWELVE_DATA_API_KEY"):
src/state.py, line 244
own_key = os.environ.get("TWELVE_DATA_API_KEY", "")
src/oauth/config.py, line 44
EXCHANGE_CLIENT_SECRET = os.environ.get("MCP_DATA_EXCHANGE_CLIENT_SECRET", "")
src/tools/account.py, line 85
"Call oauth_configure first, or set them in .env and restart the server."
src/tools/account.py, line 203
lines += ["", "OAuth not configured - set CLIENT_ID + CLIENT_SECRET in .env or call oauth_configure."]
.env.example, line 1
# Twelve Data MCP Server - copy to .env and fill in values.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit d139a77ea0f7. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. reads a credential or environment file. no licence file found.
Date and source
Date checked:
github.com
Commit graded: d139a77ea0f7d40995e6979cd09c22dd142fbfe8
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.