---
title: cache
sidebarTitle: cache
---

# `fastmcp.utilities.cache`

## Classes

### `TimedCache`

**Methods:**

#### `set`

```python
set(self, key: Any, value: Any) -> None
```

#### `get`

```python
get(self, key: Any) -> Any
```

#### `clear`

```python
clear(self) -> None
```
