> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keenable.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Keenable search and fetch work without an API key. To add them to code, use the official SDK for the project's language: https://docs.keenable.ai/sdks.md
> Read an API key from the KEENABLE_API_KEY environment variable. Never ask a user to paste a key into chat; send them to https://docs.keenable.ai/api-keys.md
> On 402 with an API key (code insufficient_credits), stop and ask a human to add credits; don't retry. On 429, wait the number of seconds in Retry-After, then retry.
> Every error, with its cause and fix: https://docs.keenable.ai/errors.md

# Replit

> Give Replit Agent web search and page fetch through the Keenable MCP server: one click, then sign in to Keenable.

*MCP server*

Add Keenable to Replit once, and Replit Agent can search the web and read pages in every app and chat on your Replit account. `search_web_pages` returns live results with site and date filters, and `fetch_page_content` returns a page as clean markdown.

## Add Keenable

[Add to Replit](https://replit.com/integrations?mcp=eyJkaXNwbGF5TmFtZSI6IktlZW5hYmxlIiwiYmFzZVVybCI6Imh0dHBzOi8vYXBpLmtlZW5hYmxlLmFpL21jcC1vYXV0aCJ9)

**1. Open the install link**

Click **Add to Replit**. Replit opens its Integrations page with the Keenable server filled in.

**2. Sign in to Keenable**

Click **Test & save**, then sign in to Keenable and allow access. Replit discovers Keenable's sign-in page, so you don't paste a key.

**3. Ask Agent to use it**

Keenable now appears under **MCP Servers** with its status, and Agent loads its tools in every project. To make Agent use Keenable, name it in your request:

> Use Keenable to find this week's releases of the libraries this app depends on and list what changed.

Searches count against your current organization in Keenable, with its [rate limits](https://docs.keenable.ai/rate-limits.md) and the free monthly allowance in [credits](https://docs.keenable.ai/credits.md).

To add the server by hand, open [replit.com/integrations](https://replit.com/integrations) and scroll to **MCP Servers for Replit Agent**. Click **+ Add MCP server**, name it **Keenable**, enter this URL and click **Test & save**:

```text theme={"system"}
https://api.keenable.ai/mcp-oauth
```

### With an API key

To use a key instead of signing in, add `https://api.keenable.ai/mcp`, open **Advanced settings**, and add the header `X-API-Key` with your key (`keen_<your_key>`, from the [console](https://app.keenable.ai/console)).

> [!NOTE]
>
> If you add `https://api.keenable.ai/mcp` with no key, it runs on the shared public tier. Replit Agent calls MCP servers from Replit's cloud, so it shares that tier's per-IP hourly limit with other Replit traffic, and the limit can run out in the middle of a task. Sign in or use a key for anything past a first try.

## Search inside the app you build

To give the app itself web search for its users, have Agent call Keenable from the app's backend with the SDK (`npm install keenable` or `pip install keenable`). The MCP server above only gives Agent a tool for its own work.

Put your key in the app's **Secrets** as `KEENABLE_API_KEY` first. A published app serves all its users from one server, so without a key they would all share one per-IP hourly limit.

> Add web search to this app with the Keenable SDK (the `keenable` package). Call it from the server, read the key from the `KEENABLE_API_KEY` secret, and show each result's title, URL and snippet.

Endpoints and parameters are in the [API reference](https://docs.keenable.ai/api-reference.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.