MCP server for swapi api
git clone https://github.com/abhishekjkrsna/swapi-mcpResumen de MCP Servers
# SWAPI MCP
A TypeScript-based Model Context Protocol (MCP) server that exposes Star Wars API data as MCP tools.
This project connects to the Star Wars API (SWAPI) and makes selected Star Wars information available through
MCP-compatible clients using stdio transport.
## Features
- MCP server built with TypeScript
- stdio-based MCP transport
- Fetches Star Wars data from SWAPI
- Tool schema validation with Zod
- Includes Vitest test setup
- Supports coverage reports
## Tech Stack
- TypeScript
- Node.js
- Model Context Protocol SDK
- Zod
- Vitest
- tsx
## Project Structure
text swapi-mcp/
├── src/ # Source code
├── tests/ # Test files and mock data
│ ├── api/
│ └── mock_data/
├── package.json
├── package-lock.json
├── tsconfig.json
└── vitest.config.js
## Requirements
- Node.js 20 or newer
- npm
Some MCP-related dependencies require Node.js 20+, so using the latest LTS version is recommended.
## Installation
`npm install`
Clone the repository and install dependencies:
## Available Scripts
### Start the development server
`npm run start`
Runs the MCP server directly from TypeScript using `tsx`.
### Build the project
`npm run build`
Compiles TypeScript into JavaScript using the TypeScript compiler.
### Run tests
`npm run test`
When started, the server connects using stdio and can be used by MCP-compatible clients.
## Available Tools
### `get-list-of-star-wars-information`
Returns a comma-separated list of available Star Wars information categories from SWAPI, such as:
- people
- planets
- films
- species
- vehicles
- starships
### `get-information-of-star-wars-characters`
Returns Star Wars character information exposed by the project’s character tool.
## Example MCP Client Configuration
You can configure an MCP-compatible client to run this server with npm:
```json
{ "mcpServers": { "swapi-mcp": { "command": "npm", "args": ["start"] } } }
```
If your client requires an absolute working directory, configure it like this:
```json
{ "mcpServers": { "swapi-mcp": { "command": "npm", "args": ["start"], "cwd": "/absolute/path/to/swapi-mcp" } } }
```Lo que la gente pregunta sobre swapi-mcp
¿Qué es abhishekjkrsna/swapi-mcp?
+
abhishekjkrsna/swapi-mcp es mcp servers para el ecosistema de Claude AI. MCP server for swapi api Tiene 0 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala swapi-mcp?
+
Puedes instalar swapi-mcp clonando el repositorio (https://github.com/abhishekjkrsna/swapi-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar abhishekjkrsna/swapi-mcp?
+
abhishekjkrsna/swapi-mcp aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.
¿Quién mantiene abhishekjkrsna/swapi-mcp?
+
abhishekjkrsna/swapi-mcp es mantenido por abhishekjkrsna. La última actividad registrada en GitHub es de today, con 0 issues abiertos.
¿Hay alternativas a swapi-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega swapi-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/abhishekjkrsna-swapi-mcp)<a href="https://claudewave.com/repo/abhishekjkrsna-swapi-mcp"><img src="https://claudewave.com/api/badge/abhishekjkrsna-swapi-mcp" alt="Featured on ClaudeWave: abhishekjkrsna/swapi-mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!