Space Frontiers MCP Server logo

Space Frontiers MCP Server

Organization
SpaceFrontiers

Machine Library by Space Frontiers: citable research retrieval for AI agents across papers, books, patents, Wikipedia, and public discussions.

PublisherSpaceFrontiers
Repositorymcp
LanguagePython
Forks
6
Stars
11
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Space Frontiers MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    11 stars and 6 forks from the linked repository.

Machine Library MCP Server

Machine Library is the search and AI product by Space Frontiers Company. Existing accounts, API keys, and spacefrontiers_* tool names remain compatible. The original https://mcp.spacefrontiers.org endpoint is still supported.

A retrieval layer for AI agents over peer-reviewed papers, books, patents, standards, Wikipedia, Reddit, Telegram, Discord, and YouTube. Returns bounded full text and canonical source URIs for citation.

Hosted at https://mcp.machinelibrary.ai/ (Streamable HTTP transport, OAuth 2.1 with PKCE or Bearer API key).

Try a worked example: Find research, inspect supporting passages, and retain citations. Includes exact tool calls and observations from a live run, plus a small evaluation checklist for research teams.

Tools

The four core retrieval tools below are read-only, idempotent, and prefixed spacefrontiers_ to avoid collisions in multi-server agent setups. The hosted service may expose additional tools; inspect its current tools/list. In particular, the optional spacefrontiers_top_up_balance capability purchases prepaid credits and is not a read-only retrieval tool.

ToolWhen to use
spacefrontiers_search_documentsPapers, books, patents, standards, Wikipedia, YouTube transcripts. Use for citations and prior art.
spacefrontiers_search_socialReddit, Telegram channels, Discord. Use for news and community discussion.
spacefrontiers_fetch_documentBounded full text + up to 50 references for one canonical URI. Defaults to 40K characters; supports up to 100K.
spacefrontiers_search_in_documentUp to five matching passages within one document. Use for documents over ~20K tokens.

Search defaults to 10 compact, hybrid-ranked results and is capped at 30. Every hit includes a canonical source_uri, one snippet (up to 900 characters), an abstract preview (up to 800 characters), score, authors, date, type, and estimated full-text size. Citation backlinks are opt-in on spacefrontiers_fetch_document because they add another billed search.

Install

The hosted server has its own /mcp install page with one-click links for Cursor, VS Code, and Smithery.

Claude Code (recommended)

sh
claude mcp add --transport http --scope user spacefrontiers https://mcp.machinelibrary.ai

On first use a browser opens for OAuth login — no API key paste required.

Cursor / VS Code / Cline / Windsurf (HTTP)

json
{
  "mcpServers": {
    "spacefrontiers": {
      "type": "http",
      "url": "https://mcp.machinelibrary.ai",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Get an API key at https://machinelibrary.ai/keys.

Self-hosted (stdio)

sh
git clone https://github.com/SpaceFrontiers/mcp.git
cd mcp
uv sync
SEARCH_API_ENDPOINT=https://api.machinelibrary.ai \
SPACE_FRONTIERS_API_KEY=sf_live_xxx uv run fastmcp run mcp_server.py

The environment variable is used as the upstream API credential in stdio mode. The command selects the public Machine Library API with SEARCH_API_ENDPOINT. The internal default remains http://search-api for existing deployments. For HTTP deployments, set SEARCH_API_ENDPOINT to your trusted internal search API and USERS_API_ENDPOINT to your internal users API; the auth middleware forwards verified identity headers to that internal service. OAuth retains the compatible authorization-server issuer at https://api.spacefrontiers.org; browser sign-in for the new product uses https://machinelibrary.ai with the same accounts.

Pricing

  • Search: $0.01 base + $0.001 per returned result (the 10-result MCP default costs $0.02).
  • Full document fetch: $0.05.
  • In-document passage search: $0.015.
  • referenced_by_limit > 0 on a fetch adds a separately billed search.

Add credits at https://machinelibrary.ai/payments.

Repository layout

  • mcp_server.py — Starlette + FastMCP entrypoint, OAuth well-known endpoints.
  • tools.py — four tools with Pydantic output schemas.
  • prompts.py — deep_research_agent prompt.
  • resources.py — spacefrontiers://document/{uri_b64} URI template.
  • auth.py — Bearer-token validation, Origin allowlist, MCP-Protocol-Version check.
  • client.py — async HTTP client for the v2 search API.
  • server.json — Official MCP Registry entry.
  • smithery.yaml — Smithery deployment config.
  • registry.json — in-house registry metadata.
  • tests/ — pytest unit tests.

Spec compliance

  • Transport: Streamable HTTP, stateless.
  • Auth: OAuth 2.1 with RFC 7591 Dynamic Client Registration; long-lived API keys also accepted.
  • Annotations: every tool declares readOnlyHint, idempotentHint, openWorldHint, destructiveHint:false.
  • Output schemas: every tool's outputSchema is auto-generated from a Pydantic return model.
  • Resources: one URI template registered for documents.
  • Spec versions accepted: 2025-03-26, 2025-06-18, 2025-11-25.

Development

sh
uv sync
uv run pytest
uv run ruff check .

mcp-name: io.github.SpaceFrontiers/mcp

License

MIT

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "spacefrontiers-mcp": {
      "command": "uvx",
      "args": [
        "spacefrontiers-mcp"
      ]
    }
  }
}

Use Space Frontiers MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Space Frontiers MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Space Frontiers MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Space Frontiers MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "spacefrontiers-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "spacefrontiers-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Space Frontiers MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Space Frontiers MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Space Frontiers MCP Server to help me with this task?
Space Frontiers MCP Server
Sure. I read it.
Here is what I found using Space Frontiers MCP Server.

Frequently asked questions

What is the Space Frontiers MCP Server MCP server used for?

Space Frontiers MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Space Frontiers MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Space Frontiers MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Space Frontiers MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Space Frontiers MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Space Frontiers MCP Server MCP to TypingMind?

Space Frontiers MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Space Frontiers MCP Server MCP provide in TypingMind?

Space Frontiers MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Space Frontiers MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Space Frontiers MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇