# Unix week number from seconds

> Unix week number from seconds is an MCP server for time utilities. Remote MCP utility that returns the Unix week number from a seconds value. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Repository:** https://github.com/sadri-dridi/named-mcp-utilities
- **MCP Registry name:** io.github.sadri-dridi/epoch-week
- **Categories:** [time utilities](https://ai-powered.com/categories/time-utilities)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small, single-purpose utilities published under the sadri-dridi registry namespace. Its job is narrow: convert a Unix epoch timestamp in seconds into a week number, so an agent does not have to do the date arithmetic itself.

It runs as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, with no package to install. Any MCP client that can reach that URL can connect directly.

The repository README describes the wider collection as independently listed public MCP servers for autonomous clients, where each folder maps to one official registry name. It also lists related servers in the same set, covering things like leap-year checks and ID-format inspection, as well as a group of promotional placement endpoints. Exact tool names and parameters for this server are not documented.

## Features

- **Epoch to week number:** Turns a Unix timestamp given in seconds into a week number.
- **Remote streamable-http:** Connects over a hosted streamable-http endpoint, so nothing needs to be installed locally.
- **Single-purpose design:** Does one narrow calculation, which keeps it easy for agents to call.
- **Registry-listed:** Published in the official MCP registry as io.github.sadri-dridi/epoch-week.

## Good for

- Let an agent compute the week number of a Unix timestamp without doing the arithmetic itself
- Group log or event timestamps into weekly buckets
- Check date-handling logic in agent workflows against a hosted utility
- Try out a minimal remote MCP server when testing client connectivity

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http epoch-week https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/epoch-week/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/epoch-week/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "epoch-week": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/epoch-week/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "epoch-week": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/epoch-week/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "epoch-week": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/epoch-week/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "epoch-week": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/epoch-week/mcp"
    }
  }
}
```

## FAQ

### How does this server connect?

It is a remote server using the streamable-http transport. There is no installable package listed.

### What does it return?

It gives the Unix week number for a value in seconds, according to its registry description.

### Is it part of a larger set of servers?

Yes. It belongs to the named-mcp-utilities repository, which lists many small servers under the sadri-dridi namespace.

### How do I add Unix week number from seconds to Claude Code?

Run this command in your terminal: claude mcp add --transport http epoch-week https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/epoch-week/mcp

### What are the best alternatives to Unix week number from seconds?

The closest alternatives to Unix week number from seconds are Unix week number, UTC ISO week-yearing year, UTC ISO week-year century, Unix epoch milliseconds and UTC ISO week number.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Unix week number](https://ai-powered.com/mcp/unix-week-number): Unix week number is an MCP server for developer tools.
- [UTC ISO week-yearing year](https://ai-powered.com/mcp/utc-iso-week-yearing-year): UTC ISO week-yearing year is an MCP server for time utilities.
- [UTC ISO week-year century](https://ai-powered.com/mcp/utc-iso-week-year-century): UTC ISO week-year century is an MCP server for time utilities.
- [Unix epoch milliseconds](https://ai-powered.com/mcp/unix-epoch-milliseconds): Unix epoch milliseconds is an MCP server for time utilities.
- [UTC ISO week number](https://ai-powered.com/mcp/utc-iso-week-number): UTC ISO week number is an MCP server for developer tools.
- [ISO year-week YYYY-Www](https://ai-powered.com/mcp/iso-year-week-yyyy-www): ISO year-week YYYY-Www is an MCP server for time utilities.
- [Unix year number](https://ai-powered.com/mcp/unix-year-number): Unix year number is an MCP server for developer tools.
- [UTC ISO week-date YYYY-Www-D](https://ai-powered.com/mcp/utc-iso-week-date-yyyy-www-d): UTC ISO week-date YYYY-Www-D is an MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/unix-week-number-from-seconds
