leakguard-mcp
A local stdio MCP server that performs static analysis on Python code to detect lookahead bias and data leakage in time-series machine learning and trading code. It uses libcst for pure source analysis without API calls, providing heuristic severity tiers to help agents self-correct errors like future shifts or global normalization before backtesting.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Flag lookahead bias in agent-generated trading code
- Detect data leakage from global normalization
- Analyze Python files for time-series ML errors
- Self-correct feature engineering mistakes in agents
Source and maintenance
- Last repository push
- Latest release
- v0.1.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
leakguard-mcp 0.1.1
{
"version": "0.1.1",
"transport": "stdio",
"identifier": "leakguard-mcp",
"registryType": "pypi"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"leakguard-mcp": {
"command": "uvx",
"args": [
"leakguard-mcp==0.1.1"
]
}
}
}Cline
{
"mcpServers": {
"leakguard-mcp": {
"command": "uvx",
"args": [
"leakguard-mcp==0.1.1"
]
}
}
}VS Code
{
"servers": {
"leakguard-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"leakguard-mcp==0.1.1"
]
}
}
}Claude Desktop
{
"mcpServers": {
"leakguard-mcp": {
"command": "uvx",
"args": [
"leakguard-mcp==0.1.1"
]
}
}
}Let your agent find its tools
Find servers like leakguard-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.