uk.miapi/miapi is an MCP server that web search and AI answers with real source citations and a confidence score. Its tool list has not been published yet over stdio, requires no API key, and scores 82/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"miapi": {
"env": {
"MIAPI_API_KEY": "your_key_here"
},
"command": "miapi-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Web search and AI answers with real source citations and a confidence score.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'miapi-sdk' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked miapi-sdk against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in search
Open-source web scraper for AI agents with scrape, crawl, and map tools
MCP server for advanced web search using Tavily
MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
The official MCP server implementation for the Perplexity API Platform
MCP Security Weekly
Get CVE alerts and security updates for uk.miapi/miapi and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Official Python client for MIAPI — get AI-powered answers grounded in real-time web search.
pip install miapi-sdk
from miapi import MIAPI
client = MIAPI("YOUR_API_KEY")
# Get a grounded answer with citations
result = client.answer("What is quantum computing?", citations=True)
print(result.answer) # AI-generated answer with [1][2] markers
print(result.sources) # List of source URLs
print(result.confidence) # 0.0 - 1.0
result = client.answer("Who won the last World Cup?")
print(result.answer)
result = client.answer(
"What is the return policy?",
mode="knowledge",
knowledge="Returns accepted within 30 days with receipt..."
)
print(result.answer)
sources = client.search("latest AI research papers")
for source in sources:
print(source.title, source.url)
news = client.news("technology", num_results=5)
for article in news:
print(article.title, article.date)
images = client.images("golden retriever")
for img in images:
print(img.url, img.width, img.height)
for event in client.stream("Explain quantum computing"):
if event['type'] == 'answer':
print(event['content'], end='', flush=True)
elif event['type'] == 'done':
print(f"\nDone in {event.get('query_time_ms')}ms")
info = client.usage()
print(f"Used {info.queries_this_month}/{info.monthly_limit} this month")
print(f"Tier: {info.tier}")
result = client.answer(
"Compare Python and Rust",
response_format="markdown", # text, short, json, markdown
temperature=0.5, # 0.0 (precise) to 1.0 (creative)
max_tokens=800, # Max answer length
language="French", # Answer in any language
search_domains=["wikipedia.org"], # Restrict sources
system_prompt="Answer like a professor",
)
from miapi import MIAPI, MIAPIError, RateLimitError, AuthenticationError
client = MIAPI("YOUR_API_KEY")
try:
result = client.answer("Hello")
except AuthenticationError:
print("Bad API key")
except RateLimitError as e:
print(f"Rate limited: {e.message}")
except MIAPIError as e:
print(f"Error: {e.message} (HTTP {e.status_code})")
MIAPI is also compatible with the OpenAI Python client:
from openai import OpenAI
client = OpenAI(
api_key="YOUR_MIAPI_KEY",
base_url="https://api.miapi.uk/v1"
)
response = client.chat.completions.create(
model="miapi-grounded",
messages=[{"role": "user", "content": "What is AI?"}]
)
print(response.choices[0].message.content)
Sign up free at miapi.uk — 500 queries/month included.
MIAPI ships an MCP server, so an AI assistant can search the web and get answers with real citations without you writing any code.
pip install "miapi-sdk[mcp]"
Then add it to your assistant's MCP config:
{
"mcpServers": {
"miapi": {
"command": "miapi-mcp",
"env": { "MIAPI_API_KEY": "your_key_here" }
}
}
}
Tools it provides: web_answer, web_search, news_search, image_search,
check_usage.
Get a key at https://miapi.uk — free tier included.