[**European Parliament MCP Server API v1.3.9**](../../../README.md)

***

[European Parliament MCP Server API](../../../modules.md) / [clients/europeanParliamentClient](../README.md) / epClient

# Variable: epClient

> `const` **epClient**: [`EuropeanParliamentClient`](../classes/EuropeanParliamentClient.md)

Defined in: [clients/europeanParliamentClient.ts:921](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/clients/europeanParliamentClient.ts#L921)

Singleton instance of European Parliament API client for global use.

Pre-configured with defaults (15 min cache, 100 req/min rate limit).
Recommended for most use cases to share cache and rate limiter across
the application.

**Environment Variables:**
- `EP_API_URL`: Override base API URL
- `EP_REQUEST_TIMEOUT_MS`: Override request timeout in milliseconds (default: `DEFAULT_REQUEST_TIMEOUT_MS`)

## Example

```typescript
import { epClient } from './clients/europeanParliamentClient.js';
const meps = await epClient.getMEPs({ country: 'SE' });
```

## See

[EuropeanParliamentClient](../classes/EuropeanParliamentClient.md)
