# Surface [Verified owner]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/Surface-ops/surface  
**GitHub Stars:** 0  
**Views:** 14  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/surface

## Description
Remote MCP (streamable HTTP at https://nova-otter-delta-cloud.grok.me/mcp). Tool preflight_url unwraps short or unknown links (t.co, bit.ly, lnkd.in) before an agent fetches them and returns next: fetch or skip. No page body returned. Usage-priced: Preflight $0.25/1k, Inspect $0.20/1k.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "surface": {
    "command": "npx",
    "args": ["-y","github:Surface-ops/surface"]
  }
}
```

## Documentation

## What Surface MCP server does

Surface checks a URL before an agent fetches it. It is designed for shorteners and other links whose destination is not immediately clear, including `t.co`, `bit.ly`, `lnkd.in`, and `youtu.be` URLs. The service follows redirect hops, identifies the resulting destination, and returns a recommendation: `fetch` or `skip`.

The response can include `next`, `verdict`, `unwrapped`, `from_host`, `final_host`, and `final_url`. Verdict values include `fetch`, `dead`, `wall`, and `trap`. Surface returns link metadata and the decision rather than the destination page body, keeping the preflight request separate from the eventual content fetch.

## How it works

The hosted endpoint is available at `https://nova-otter-delta-cloud.grok.me/mcp` using Streamable HTTP. MCP clients call the `preflight_url` tool with an object containing a URL. The remote service performs the redirect checks and returns the result to the client.

For clients that only launch local commands, the repository includes a Node.js stdio server. It speaks JSON-RPC over standard input and output while forwarding preflight requests to the hosted endpoint. The command-line utility provides the same decision as a shell command and can emit JSON. The JavaScript client also exposes REST and remote-MCP helpers, including `preflight()`, `mcpPreflight()`, and `shouldFetch()`.

Surface refuses private hosts and unusual ports. Applications should fetch the returned destination themselves only when the result indicates that it is appropriate to proceed.

## Setup and configuration

The remote endpoint can be added directly to MCP clients that support HTTP. Claude Code and Cursor examples use the hosted URL; an authorization header is optional. VS Code, Codex, and Claude Desktop client configurations are included in the repository examples.

A local setup requires Node.js 18 or later. Clone the repository and run `node bin/surface-mcp.js`, or configure an MCP client to launch the repository through `npx`. The local bridge has no dependencies. Offline tests use a local mock and do not call the live metered service.

An API key can be created with `POST /v1/keys` or through the service start page. Set `SURFACE_KEY` to use it; `SURFACE_API_KEY` is also accepted. Keys are sent as bearer authorization, and the service also accepts the `X-Surface-Key` header. Without a key, calls remain available under a shared limit of 60 requests per minute. `SURFACE_BASE_URL` can override the default service URL.

## Tools and capabilities

- `preflight_url`: accepts a URL and returns a fetch-or-skip decision after following redirect hops.
- REST preflight access through `/v1/preflight`.
- Streamable HTTP access through the hosted MCP endpoint.
- Local stdio MCP access through `bin/surface-mcp.js`.
- Command-line checks through `surface-preflight`, with exit code 0 for fetch and 2 for skip.
- JavaScript helpers for REST calls, remote MCP calls, and interpreting the result.

The first 1,000,000 requests each month are free. After that, Preflight costs $0.25 per 1,000 calls. Usage can be checked through `/v1/usage`.

## Limitations and notes

Surface does not return page content. It only reports redirect and destination information, so a separate fetch is needed after a `fetch` result. The service can return a `get_key` note for keyless requests. Python callers should send a normal `User-Agent`; the built-in `urllib` default may be blocked at the edge, while `requests`, `httpx`, and `curl` are supported in the documented usage examples.

The repository is licensed under MIT. The hosted service has a usage meter, and `initialize` and `tools/list` requests are not counted as tool calls.

_Full upstream README: https://allmcps.com/mcp/surface/readme_

