EA Forum MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
EA Forum MCP Server
An MCP (Model Context Protocol) server that provides access to the EA Forum's content.
Features
Full-text search - Search EA Forum posts using Algolia's powerful search engine
Post retrieval - Get complete post content including HTML and metadata
Tag-based search - Search posts by specific EA-related tags
Caching - Built-in TTL cache to reduce API calls
Retry logic - Automatic retry with exponential backoff for failed requests
Type safety - Full type hints for better development experience
Related MCP server: AgentSearch MCP
Installation
Clone the repository:
git clone https://github.com/yourusername/ea-forum-mcp-server.git
cd ea-forum-mcp-serverCreate a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtConfiguration
Copy the example environment file:
cp .env.example .envEdit
.envif needed (default values should work fine)
Usage Examples
Basic Usage: AI Safety Research Summary
The EA Forum MCP Server can help you quickly gather and summarize content on specific topics. Here's an example of searching for AI Safety posts from the last month:

The server uses multiple tools to search, filter by date, and retrieve full post content to generate comprehensive summaries:

Advanced Usage 1: Creating Content Based on EA Forum Research
You can use the server to research existing content and create new posts inspired by successful formats. This example shows creating an "Animal Welfare 2024" review based on the LessWrong AI safety review format:

The result is a well-structured post with insights gathered from multiple EA Forum sources:

Advanced Usage 2: Hackathon Proposal Enhancement
The server can help strengthen project proposals by finding relevant research and evidence from the EA Forum. Here's an example of enhancing a mental health chatbot red teaming proposal:

The server finds relevant posts about AI safety evaluation, mental health interventions, and regulatory frameworks to create a comprehensive proposal:

Advanced Usage 3: Consuming the Service via HTTP
To consume the service via an HTTP connection, run the following command from the project's root directory:
python -m src.httpServerOnce the service is running, you can use any tool you prefer to create a client for the MCP. Here is an example using LangChain and LangGraph:
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
# Initialize the client to connect to the running MCP service
client = MultiServerMCPClient(
{"EA Forum MCP": {"url": "http://localhost:8010/mcp/", "transport": "streamable_http"}}
)
# Your preferred LLM service
llm = ...
# Get the tools from the MCP and create an agent that can use them
tools = await client.get_tools()
agent = create_react_agent(llm, tools)
# Invoke the agent with your question
await agent.ainvoke(
{"messages": [{"role": "user", "content": "Is there any post at the EA Forum about an MCP?"}]}
) Usage
Running the Server
python -m src.stdioServerAvailable Tools
1. search_posts
Search EA Forum posts using full-text search.
Parameters:
query(required): Search query stringdate_range(optional): Filter by time period ('day', 'week', 'month', 'year')limit(optional): Number of results (default: 10, max: 100)page(optional): Page number for pagination (0-based)curated_only(optional): Only return curated posts (default: false)exclude_events(optional): Exclude event posts (default: true)
Example:
{
"tool": "search_posts",
"arguments": {
"query": "AI safety research",
"date_range": "week",
"limit": 20
}
}2. get_post
Get full content of a specific EA Forum post by ID.
Parameters:
post_id(required): The post ID to retrieve
Example:
{
"tool": "get_post",
"arguments": {
"post_id": "o8zS7cLN5j3XviMFe"
}
}3. search_by_tag
Search posts by a specific EA-related tag.
Parameters:
tag(required): Tag name from predefined listlimit(optional): Number of results (default: 30)
Available tags:
ai_safety- AI safetycommunity- Communityglobal_health- Global health & developmentbiosecurity- Biosecuritycareer_choice- Career choicepolicy- Policyfunding- Funding opportunitiesmalaria- Malariaresearch- Researchvaccines- Vaccines
Example:
{
"tool": "search_by_tag",
"arguments": {
"tag": "ai_safety",
"limit": 10
}
}MCP Client Configuration
To use this server with an MCP client, add it to your client's configuration:
{
"mcpServers": {
"ea-forum": {
"command": "python",
"args": ["-m", "src.stdioServer"],
"cwd": "/path/to/ea-forum-mcp-server",
"env": {
"PYTHONPATH": "/path/to/ea-forum-mcp-server"
}
}
}
}Note: The PYTHONPATH environment variable is required to help Python find the src module.
Development
Testing
The project includes two test scripts for verifying functionality:
1. Automated Test Suite (tests/test_server.py)
Runs comprehensive tests on all server components:
# From project root
python tests/test_server.py
# Or from tests directory
cd tests
python test_server.pyThis script tests:
Search functionality with various filters
Post content retrieval
Tag-based searching
Cache operations
Error handling
2. Interactive Test Client (tests/interactive_test.py)
Provides a menu-driven interface for manual testing:
# From project root
python tests/interactive_test.py
# Or from tests directory
cd tests
python interactive_test.pyFeatures:
Interactive menu for testing each tool
Custom query inputs
Real-time results display
Useful for exploring API capabilities before MCP integration
Architecture
The server is structured as follows:
src/server.py- Main MCP server implementationsrc/clients/- API client implementationsalgolia_client.py- Algolia search API clientgraphql_client.py- GraphQL API client for post content
src/models/- Type definitionstypes.py- TypedDict definitions for API responses
src/utils/- Utility modulescache.py- TTL cache implementationretry.py- Retry decorator with exponential backoff
src/config/- Configuration managementsettings.py- Environment-based settings
Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
EA Forum
Max from the Even More Effective Team ❤️

Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Search, read, and act on the web. The Stophy MCP server for agents.
Agentic search over your Dewey document collections from any MCP-compatible client.
Search Bluesky posts and feeds; read profiles, threads, and trends. STDIO or Streamable HTTP.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceMCP server enabling local-first web search, fetch, extract, and caching with citeable excerpts, no API key required. Supports research workflows for agents and apps.67 npm1MIT
- AlicenseAqualityBmaintenanceAgentSearch web search (and optional page extract) via MCP stdio. Direct local API or Pocket portal.8MIT
- AlicenseNot gradedqualityBmaintenanceA local stdio MCP server that exposes tools for running evidence-first research with source-linked, replayable reports, plus replay, citation-audit, and Agent Reach health checks. It preserves fetched page text, exact quote offsets, hashes, and run traces so a client can verify that quotes match retrieved sources, while withholding arbitrary shell or local-file access.1MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP-capable coding agents to query a self-hosted, LLM-compiled Markdown wiki through a single ask tool, returning cited answers grounded in whole articles rather than embedded fragments. Served either locally over stdio or remotely over streamable HTTP with optional bearer-token auth.-