Space Frontiers MCP Server

Space Frontiers MCP Server

Enables language models to search and interact with Space Frontiers data sources including library, telegram, and reddit databases through keyword and semantic search capabilities.

Category
访问服务器

README

Space Frontiers MCP Server

General Overview

This project implements a Model Context Protocol (MCP) server that acts as an interface to the Space Frontiers API. It allows language models to interact with Space Frontiers data sources through defined tools. The server is built using FastAPI and the FastMCP library.

Note: Space Frontiers provides a publicly hosted MCP server at https://mcp.spacefrontiers.org. To use it, obtain an API key from https://spacefrontiers.org/developers/keys and include it in your requests using the Authorization: Bearer <your_api_key> header.

Tools

The server exposes the following tools for interaction:

simple_search

Performs a keyword search over specified Space Frontiers databases (library, telegram, or reddit).

Parameters:

  • source (SourceName): The data source to search (e.g., "library", "telegram", "reddit").
  • query (str): The keyword search query.
  • limit (int): The maximum number of results to return.
  • offset (int): The starting offset for the results.

Returns: (str) Search results.

search

Performs a semantic search over specified Space Frontiers databases (library, telegram, or reddit).

Parameters:

  • query (str): The semantic search query.
  • sources (list[SourceName], optional): A list of data sources to search. Defaults to ["library"].
  • filters (FiltersType | None, optional): Optional filters to apply to the search. Defaults to None.
  • limit (int, optional): The maximum number of results to return. Defaults to 10.

Returns: (str) Search results.

Environment Variables

The server utilizes the following environment variables:

  • SPACE_FRONTIERS_API_ENDPOINT: The base URL for the Space Frontiers API.
    • Default: https://api.spacefrontiers.org
  • SPACE_FRONTIERS_API_KEY: An optional API key for authenticating requests to the Space Frontiers API.
    • Note: Authentication can also be provided via request headers:
      • Authorization: Bearer <your_api_key>
      • X-Api-Key: <your_api_key>
      • Alternatively, a user ID can be provided via the X-User-Id header. If none of these are provided, the server will attempt to use the SPACE_FRONTIERS_API_KEY environment variable if set.
      • Note on X-User-Id: This header is intended for Space Frontiers internal usage only and cannot be exploited for external authentication.

Running the Server

To run the server for use with the Claude App or STDIO communication, execute the following command in your terminal:

uv run mcp run main.py

Make sure to set the SPACE_FRONTIERS_API_KEY environment variable before running the server.

Example Claude Desktop App Configuration (claude_desktop_config.json)

Here's an example configuration for integrating the Space Frontiers MCP server with the Claude Desktop app:

{
  "mcpServers": {
    "Space Frontiers MCP server": {
      "command": "/path/to/your/uv", // Replace with the actual path to your uv installation
      "args": [
        "run",
        "--with",
        "izihawa-loglib",
        "--with",
        "mcp[cli]",
        "--with",
        "spacefrontiers-clients",
        "mcp",
        "run",
        "/path/to/your/spacefrontiers-mcp/mcp_server.py" // Replace with the actual path to mcp_server.py
      ],
      "env": {
        "SPACE_FRONTIERS_API_KEY": "YOUR_API_KEY_HERE" // Replace with your actual API key
      }
    }
  }
}

Note: Replace the placeholder paths and API key with your actual values.

(Instructions on how to run the server, e.g., using Docker or uvicorn, can be added here)

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选