SWEN AI
AI news, model intelligence rankings (Artificial Analysis Index, deduplicated by model family), and AI tools/tutorials directory. Free, no API key required — 7 tools for news search, model lookup, rankings, and tools discovery.
README
SWEN.AI MCP Server (reference source)
This repository contains the reference implementation of the source code behind the public Model Context Protocol (MCP) server hosted at:
https://swen.ia.br/api/mcp
SWEN.AI is a Brazilian portal covering AI news, model benchmarks, tools and tutorials. This MCP server exposes that data to AI agents and MCP-compatible clients (Claude, Claude Code, etc.) with no API key required (IP-based rate limiting only).
This is not a runnable standalone package
The files here are copied verbatim from our private production monorepo so that developers can read, audit, and understand exactly what the hosted endpoint does. Authentication, rate-limiting, and infrastructure code are intentionally not included — see Security below.
To use the server, connect your MCP client directly to the hosted endpoint; there is nothing to install or run locally.
Connecting an MCP client
{
"mcpServers": {
"swen-ai": {
"url": "https://swen.ia.br/api/mcp"
}
}
}
Available tools
| Tool | Description |
|---|---|
search_news |
Search/list published AI news articles |
get_news_article |
Fetch a single news article by slug |
list_ai_models |
List tracked AI models |
get_model |
Fetch a single AI model by slug |
get_intelligence_ranking |
Get the canonical Artificial Analysis Intelligence Index ranking |
search_tools |
Search/list AI tools in the directory |
list_tutorials |
List tutorials |
Every tool is a thin wrapper: it validates input, calls a fetchers.ts
function to read from Postgres (via Supabase's REST API using the public
anon key), maps the row to a stable public contract (mappers.ts /
types.ts), and returns JSON.
Files in this repo
src/lib/api-v1/
mcp-server.ts tool registration (the 7 tools above)
fetchers.ts data-fetching functions (reads only, public anon key)
mappers.ts DB row → public contract mapping
types.ts public contract types (NewsItem, ModelItem, ...)
src/lib/ranking/
fetch-aa.ts canonical Artificial Analysis ranking logic (dedup + sort)
src/lib/benchmark/
freshness.ts filters out stale benchmark scores
src/lib/i18n/
config.ts locale constants used by the mappers
These are copied byte-for-byte from the production repo. They are kept in sync manually; they may lag the deployed version slightly.
Also see
- REST API docs (API key required, higher rate limits): https://swen.ia.br/developers
- Full portal: https://swen.ia.br
Security
This repo deliberately excludes:
auth.ts— API key validation and rate-limiting logickey-crypto.ts— API key hashing- Any environment variable, credential, or internal Supabase project
reference beyond the two values that are public by design:
NEXT_PUBLIC_SUPABASE_URLandNEXT_PUBLIC_SUPABASE_ANON_KEY(already shipped in every page's browser bundle on swen.ia.br; access is governed by Postgres Row Level Security, not by keeping this value secret).
If you believe you've found a security issue with the hosted endpoint, please report it privately rather than opening a public issue.
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.