Skip to main content
Glama
Asmit Dev Tools

Asmit Dev Tools

by asmitsr

Asmit Dev Tools — MCP Server

Python MCP License: MIT M8ven Score XERJ Corpus Hub contributor

A small, safe MCP server that other people can install from GitHub and connect to Claude Desktop, VS Code, Cursor or any MCP client. It is a program, not a website — it runs over stdio and is not deployed to Vercel.

Tools

Tool

What it does

check_password_breach

Counts how many times a password appeared in known breaches. Only the first 5 characters of the SHA-1 hash are sent to Have I Been Pwned (k-anonymity); the password and full hash are never sent or stored.

password_strength

Local 0-5 strength score for a password, with improvement suggestions. Nothing is sent anywhere.

generate_password

Random password generated locally with the secrets module. Never stored or sent elsewhere.

split_expense

Splits an expense equally or by custom shares and simplifies who owes whom. Money is handled in integer poisha, never floats, so shares always add up exactly.

settle_balances

Simplifies any set of balances (who is owed / owes) into the fewest payments.

convert_currency

Converts between currencies with a free no-key exchange-rate API. Indicative rates only.

repo_health

Health summary of a public GitHub repository: stars, forks, open issues, language, license, days since last push, top languages by bytes, and open pull requests counted from the first 100. No token is used; private repos return "not found" by GitHub's design.

repo_compare

Side-by-side health of two public repositories.

github_user_summary

Public user summary: repo count, followers, total stars on fetched repos, top languages. Public data only.

audit_tool_list

Static security checklist for an MCP server's tool list (score + findings + fixes). Nothing is run and nothing connects to a live server.

check_url_status

Checks whether a URL is reachable and what status it returns (HEAD). Guarded against SSRF: only globally routable addresses may be fetched, and every redirect target is re-validated (max 5 redirects).

world_time

Current time in any IANA timezone, plus UTC and Asia/Dhaka.

Deliberately not included: shell execution, file writes, database writes, money movement, or anything that handles secrets. Those are exactly the capabilities the MCP security discussion warns about.

Related MCP server: @mate-tools/mcp-server

Architecture

asmit_mcp/server.py is only the registrar (FastMCP + logging wrapper). Tool logic lives in tools/ — security.py, finance.py, github.py, utility.py — and shared helpers live in core/ — errors.py (response format), validation.py (input rules), http.py (timeouts, response cap, rate limit), cache.py (currency-rate cache), ratelimit.py (per-host call limit), ssrf.py (URL guard).

Error format: success is {"ok": true, ...data}; errors are {"ok": false, "error": "message", "error_code": "CODE"} where CODE is VALIDATION_ERROR, NOT_FOUND, RATE_LIMITED, EXTERNAL_API_ERROR, SSRF_BLOCKED or UNKNOWN_ERROR. Input problems raise a validation error that the server wrapper converts; external API problems return their code directly. Logs go to stderr only (stdout is the MCP channel) and record tool name, success/failure, duration and error code — never inputs, passwords, tokens or arguments.

Validation is FastMCP/Pydantic at the protocol level plus explicit domain rules in core/validation.py (types, ranges, length caps, GitHub name shapes, finite numbers, 3-letter currency codes). No separate Pydantic model layer was added: it would duplicate what FastMCP already does without adding safety.

Install and use

Requires Python 3.10+.

git clone https://github.com/asmitsr/asmit-mcp-server.git
cd asmit-mcp-server
python -m venv .venv
.venv/bin/pip install .

Claude Desktop config (claude_desktop_config.json), using uvx:

{
  "mcpServers": {
    "asmit-mcp-server": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/asmitsr/asmit-mcp-server.git", "asmit-mcp-server"]
    }
  }
}

Or run the server directly for testing:

.venv/bin/python -m asmit_mcp.server

Example prompts (once connected)

  • "Check whether the password password has appeared in a breach."

  • "Split 900 taka between A, B and C, paid by A, and tell me who owes whom."

  • "How healthy is the public repo asmitsr/DoremanAI?"

  • "Audit this tool list for security risks: ..."

Test

Protocol test (stdio, lists tools and calls each one):

.venv/bin/python test_client.py

Offline unit tests for the pure-computation tools, including SSRF, rate-limit, timeout, currency-failure and expense edge cases:

.venv/bin/python -m unittest discover -s tests -v

Lint:

.venv/bin/pip install ".[dev]"
.venv/bin/ruff check asmit_mcp tests test_client.py

The test client connects over stdio, lists the tools, and calls each one: a known breached password, a random password, a 900/3 split, a public repo, and safe vs risky tool lists for the audit.

Honest limits

  • This server never runs shell commands, never writes files, and never moves money. That is a safety choice, not a missing feature.

  • repo_health uses GitHub's unauthenticated public API, so it is subject to GitHub's 60 requests/hour limit for shared IPs. The server also applies its own generous per-host limit (50 calls/minute) so a runaway client cannot burn that budget, and currency rates are cached in memory for 5 minutes. An optional GITHUB_TOKEN is not supported yet — the server is designed to need no token at all.

  • check_url_status's SSRF guard resolves the hostname locally and requires a globally routable address. On networks where local DNS is intercepted (a VM whose resolver maps every hostname to a synthetic reserved address), the guard blocks instead of fetching — it never fails open. On a normal machine with direct DNS, public URLs pass. The connection is pinned to the validated IP, so DNS rebinding is closed. The public-URL path was verified end-to-end on a real network (GitHub Codespaces, 7 Nov 2026): public URLs return 200 and private/loopback addresses are blocked. Proxy environment variables (HTTP_PROXY/HTTPS_PROXY) are ignored by this connection — it goes direct.

  • MCP clients pass only a small environment whitelist to a stdio server by default. If your network needs a proxy, add its variables in your client's env config for this server; the included test_client.py forwards the machine's proxy variables for the same reason (values are read at runtime, never stored in the repo).

  • audit_tool_list is a static checklist, not a safety certification. A high score does not prove a server is safe.

  • Never give this server (or any MCP server) your API keys, passwords or tokens. It does not need them.

Known limitations

  • Client testing: the server has been tested end-to-end with a Python MCP client over stdio. VS Code and Cursor both discovered the server in their MCP settings (8 Nov 2026), but no real-client tool call has been made yet — neither client had an AI model/account available. Claude Desktop has not been tested (not available on Linux).

Available Tools

12 tools
audit_tool_listA

Static security checklist for an MCP server's tool list.

tools_json is a JSON list of {"name": ..., "description": ...}. Nothing is run and nothing connects to a live server. The result is a checklist score, not a safety certification.

Inputs: tools_json (required). Returns: result

check_password_breachA

Count how many times a password appeared in known data breaches.

Privacy: only the first 5 characters of the SHA-1 hash are sent to Have I Been Pwned (k-anonymity). The password and the full hash are never sent, stored or logged.

Inputs: password (required). Returns: result

check_url_statusA

Check whether a URL is reachable and what status it returns.

SSRF guard (core.ssrf) runs before the request and again for every redirect target: only globally routable addresses may be fetched, at most 5 redirects. Only a HEAD request is made; nothing is downloaded fully and no form is submitted. "reachable: false" is a result, not an error: it means the check itself ran and the URL did not answer.

Inputs: url (required). Returns: result

convert_currencyB

Convert an amount between currencies using a free no-key rate API.

Rates are indicative, from exchangerate-api.com, and are not financial advice. Rates are cached in memory for 5 minutes.

Inputs: amount (required), to_currency (required), from_currency (required). Returns: result

generate_passwordA

Generate a random password locally with the secrets module.

The password is generated on the server machine and returned to the caller; it is never stored or sent anywhere else. Length is clamped to 8-64.

Inputs: length, include_symbols. Returns: result

github_user_summaryA

Public summary of a GitHub user: profile, repo count, total stars across their public repos, and most-used languages. Public data only, no token; private repos are invisible to the public API by design.

Inputs: username (required). Returns: result

password_strengthA

Score a password 0-5 and explain how to improve it.

The password is scored locally and never sent anywhere. Score: one point each for length 8+, length 12+, mixed case, a digit, and a symbol. This is a strength hint, not a guarantee.

Inputs: password (required). Returns: result

repo_compareC

Side-by-side health comparison of two public GitHub repositories.

Inputs: repo1 (required), repo2 (required), owner1 (required), owner2 (required). Returns: result

repo_healthB

Health summary of a PUBLIC GitHub repository, plus upgrades: top languages by bytes and open pull requests counted from the first 100 open PRs. If those extra calls fail, they are reported as null instead of failing the whole health check.

Inputs: repo (required), owner (required). Returns: result

settle_balancesA

Simplify any set of balances into the fewest payments.

balances maps each person to what they are owed (+) or owe (-); the values must sum to zero. Money is handled in integer poisha.

Inputs: balances (required). Returns: result

split_expenseB

Split an expense and simplify who owes whom.

Equal split: the remainder poisha go to the first members, so the shares always add up exactly. Custom split: shares must sum exactly to the total, otherwise a validation error is returned.

Inputs: members (required), paid_by (required), total_amount (required), custom_shares. Returns: result

world_timeA

Current time in a given IANA timezone, plus UTC and Asia/Dhaka for comparison. timezone_name examples: Asia/Dhaka, Asia/Kolkata, Europe/London, America/New_York.

Inputs: timezone_name (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools target clearly different resources: password checks vs. expense math vs. GitHub repo analysis vs. URL probing vs. time lookup. The only real overlap is split_expense, which also 'simplifies who owes whom', versus settle_balances which does the same simplification on a balance set; descriptions distinguish them but the boundary is soft.

    Naming Consistency3/5

    Everything is snake_case, which is good, but the verb_noun convention is only partly followed: check_password_breach, generate_password, split_expense, convert_currency, check_url_status are verb-led, while password_strength, repo_health, repo_compare, github_user_summary, world_time are bare noun phrases. Readable, but not a predictable pattern an agent can extrapolate.

    Tool Count4/5

    Twelve tools is a reasonable, well-scoped count with no obvious filler; each tool has a concrete job. The count is fine, though it is spread across many unrelated mini-domains rather than one coherent surface.

    Completeness3/5

    Each sub-domain is thin: expenses can be split and settled but there is no notion of groups, members, or persistence; currency offers only conversion with no rate lookup or supported-currency listing; GitHub covers health/compare/user but no repo search or issue/PR detail; time offers only current time with no conversion. Agents can work around these gaps, but they will hit dead ends for anything beyond a single call per domain.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides essential utility tools for text processing, file operations, hashing, temperature conversion, password generation, and date/time operations through a comprehensive MCP interface.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server providing 35 utility tools for AI agents including text analysis, encoding, hashing, password generation, JSON/CSV/XML parsing, regex, color, date, finance, URL metadata, SEO tags, DNS lookup, SSL inspection, and JWT decoding. Free, zero-dependency, and works with any MCP client.
      35
      75 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables everyday utilities like calculation, text analysis, encoding, hashing, UUID generation, datetime lookup, and note management through MCP tools, resources, and prompts.
      11
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides deterministic developer utilities as MCP tools, including UUID/password generation, hashing, encoding, JWT decoding, cron scheduling, regex execution, and text analysis. Runs entirely locally with no network calls, telemetry, or API keys.
      20
      82 npm
      MIT