Skip to main content
Glama

basic-mcp

MCP server providing deterministic tools for operations that LLMs commonly struggle with: time, math, counting, randomness, and validation.

Installation

bun install

Related MCP server: mcp-micro-tools

Usage

With Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "basic-tools": {
      "command": "bun",
      "args": ["run", "/path/to/basic-mcp/index.ts"]
    }
  }
}

Standalone

bun run index.ts

Tools

Time

Tool

Description

now

Get current date/time with timezone support

date_diff

Calculate difference between two dates

date_add

Add/subtract time from a date

unix_timestamp

Convert between Unix timestamps and dates

Math

Tool

Description

calculate

Evaluate math expressions (supports "15% of 200", sqrt, trig, etc.)

convert_units

Convert between units (km to miles, celsius to fahrenheit, etc.)

statistics

Calculate mean, median, mode, std dev, min, max, sum

Strings

Tool

Description

count

Count characters, words, lines, bytes, sentences, paragraphs

hash

Generate MD5, SHA1, SHA256, SHA512 hashes

uuid

Generate UUID v4

base64

Encode/decode base64

regex_test

Test strings against regex patterns

Random

Tool

Description

random_int

Cryptographically secure random integer

random_float

Cryptographically secure random float

random_choice

Select random item(s) from a list

shuffle

Randomly shuffle an array (Fisher-Yates)

Validation

Tool

Description

validate

Validate email, URL, IPv4, IPv6, UUID, JSON, credit card (Luhn)

json_parse

Parse JSON with optional path extraction

url_parse

Parse URL into components

dns_lookup

DNS lookup (A, AAAA, MX, TXT, NS, CNAME records)

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Provides deterministic system information and developer utilities including date/time operations, OS details, math calculations, random data generation, hashing, text formatting, data validation, encoding/decoding, and log analysis.
    Last updated
    20
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides a set of micro-tools (time calculation, regex, encoding, JSON diff, etc.) for LLM agents to handle deterministic, precision tasks that models often get wrong.
    Last updated
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Provides computational tools for systematic reasoning, including boolean evaluation, date arithmetic, object counting, state tracking, and format validation, to enhance agent capabilities and eliminate calculation errors in reasoning tasks.
    Last updated
    4

View all related MCP servers

Related MCP Connectors

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

  • 13 deterministic agent utilities: timezone, cron, RRULE, currency, regex, diff, hashing & more.

  • Precision math engine for AI agents. 203 exact methods. Zero hallucination.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/msilverblatt/basic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server